Commit efe583a

Ansari <ping@ansari.wtf>
2026-08-31 04:51:13
due to hyprland crashes modifying dpms
1 parent bea2faa
Changed files (1)
.config
.config/hypr/hypridle.conf
@@ -1,7 +1,6 @@
 general {
     lock_cmd = pidof swaylock || swaylock --config ~/.config/sway/swaylock.conf --fade=0.3
     before_sleep_cmd = loginctl lock-session               # lock before suspend.
-    after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms(true)' # to avoid having to press a key twice to turn on the display.
     inhibit_sleep = 3                                      # wait until screen is locked
 }
 
@@ -13,7 +12,6 @@ listener {
 listener {
     timeout = 910                                           
     on-timeout = hyprctl dispatch 'hl.dsp.dpms(false)'                   
-    on-resume = hyprctl dispatch 'hl.dsp.dpms(true)' && brightnessctl -r 
 }
 
 listener {