summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/sils/swayidle/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/sils/swayidle/default.nix b/users/sils/swayidle/default.nix
index 216165d..20eabad 100644
--- a/users/sils/swayidle/default.nix
+++ b/users/sils/swayidle/default.nix
@@ -17,6 +17,11 @@
         timeout = 120;
         command = "${pkgs.swaylock}/bin/swaylock -f";
       }
+      {
+        timeout = 140;
+        command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off";
+        resumeCommand = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on";
+      }
     ];
     systemdTarget = "hyprland-session.target";
   };