diff options
Diffstat (limited to 'nix/programs/hypr/hyprland.nix')
-rw-r--r-- | nix/programs/hypr/hyprland.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/nix/programs/hypr/hyprland.nix b/nix/programs/hypr/hyprland.nix index 4889673..1b98d9e 100644 --- a/nix/programs/hypr/hyprland.nix +++ b/nix/programs/hypr/hyprland.nix @@ -7,11 +7,16 @@ let hyprland-plugins = inputs.hyprland-plugins.packages.${system}; hy3 = inputs.hy3.packages.${system}; + debug = true; + in { environment = { variables = { + HYPRLAND_TRACE = if debug then "1" else "0"; + AQ_TRACE = if debug then "1" else "0"; + XDG_CURRENT_DESKTOP = "Hyprland"; XDG_SESSION_TYPE = "wayland"; XDG_SESSION_DESKTOP = "Hyprland"; @@ -43,7 +48,7 @@ in ]; }; - programs.xwayland.enable = true; + #programs.xwayland.enable = true; home-manager.users.${config.user} = { wayland.windowManager.hyprland = { @@ -64,9 +69,9 @@ in settings = { # Debug - debug.disable_logs = false; - debug.disable_time = false; - debug.enable_stdout_logs = true; + debug.disable_logs = ! debug; + debug.disable_time = ! debug; + debug.enable_stdout_logs = debug; # Monitors monitor = map (monitor: |