diff --git a/home-manager/linux/programs/hyprland.nix b/home-manager/linux/programs/hyprland.nix index 1efe363..c46b087 100644 --- a/home-manager/linux/programs/hyprland.nix +++ b/home-manager/linux/programs/hyprland.nix @@ -275,8 +275,8 @@ in with lib; { # Turn off the displays after 10 minutes of inactivity { timeout = 600; - command = ''swaymsg "output * dpms off"''; - resumeCommand = ''swaymsg "output * dpms on"''; + command = "hyprctl dispatch dpms off"; + resumeCommand = "hyprctl dispatch dpms on"; } ]; };