This commit is contained in:
nnduc
2026-09-25 17:03:27 +07:00
parent 05e604fe27
commit 37b16c4e7c
4 changed files with 13 additions and 9 deletions
+4 -2
View File
@@ -30,10 +30,12 @@ exec --no-startup-id dex --autostart --environment i3
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use systemctl lock-session to lock your screen.
# burn-in prevention: blank after 5min, DPMS off after 10min, skip lock if fullscreen
# idle: lock after 5min (xss-lock -> scripts/lock), DPMS off after 15min;
# dpms-inhibit skips all of it while a fullscreen window is visible
exec --no-startup-id xset b off
exec --no-startup-id xset s noblank
exec --no-startup-id xset s 300 300
exec --no-startup-id xset dpms 300 600 900
exec --no-startup-id xset dpms 0 0 900
exec --no-startup-id xss-lock -- ~/.config/i3/scripts/lock $wallpaper_dir
exec --no-startup-id ~/.config/i3/scripts/dpms-inhibit