diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index a4551a3..582e4c7 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -69,7 +69,7 @@ in { timeout = 300; on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed - on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has fired. + on-resume = "hyprctl dispatch dpms on;" + (lib.optionalString (hostName == "thor") "xrandr --output DP-1 --primary"); # screen on when activity is detected after timeout has fired. } ]; }; @@ -104,7 +104,6 @@ in exec = (lib.lists.optionals (hostName == "thor") [ "xrandr --output DP-1 --primary" - "xrandr --output DP-3 --primary" ]) ++ [ "noti -t 'Hyprland' -m 'New config loaded\!'" ];