aa543d4b2f9ff79dd4e928d0b1ab49b2f8ecf440

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Add dpms after 1min of inactivity

Diff

 1diff --git a/dot_config/hypr/hypridle.conf b/dot_config/hypr/hypridle.conf
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..8014900b50646c4256e76cc69ac8502afd7e998f
 4--- /dev/null
 5+++ b/dot_config/hypr/hypridle.conf
 6@@ -0,0 +1,5 @@
 7+listener {
 8+    timeout = 60
 9+    on-timeout = hyprctl dispatch dpms off
10+    on-resume = hyprctl dispatch dpms on
11+}
12diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
13index 3ec73febbdd2a8fd10e003c1516dabf301059319..c29d6abf081a484423d1ce9d8e3a199862a50bd7 100644
14--- a/dot_config/hypr/hyprland.conf.tmpl
15+++ b/dot_config/hypr/hyprland.conf.tmpl
16@@ -149,6 +149,8 @@ misc {
17     vfr = true
18     enable_swallow = true
19     swallow_regex = com.mitchellh.ghostty
20+    mouse_move_enables_dpms = true
21+    key_press_enables_dpms = true
22 }
23 
24 xwayland {