This commit is contained in:
2026-06-12 14:29:25 +01:00
parent 1382e22abd
commit 6324dea7b0
+3 -3
View File
@@ -6,7 +6,7 @@ general {
} }
listener { listener {
timeout = 600 # 10 minutes timeout = 300 # 5 minutes
on-timeout = notify-send "You are idle and will be locked soon!" # command to run when timeout has passed. on-timeout = notify-send "You are idle and will be locked soon!" # command to run when timeout has passed.
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired. on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
} }
@@ -17,12 +17,12 @@ listener {
# } # }
listener { listener {
timeout = 630 # 10.5min timeout = 330 # 5.5min
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' # screen off when timeout has passed on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' # screen off when timeout has passed
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && brightnessctl -r # screen on when activity is detected after timeout has fired. on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && brightnessctl -r # screen on when activity is detected after timeout has fired.
} }
listener { listener {
timeout = 1800 # 30min timeout = 600 # 1min
on-timeout = systemctl suspend # suspend pc on-timeout = systemctl suspend # suspend pc
} }