Replace xautolock with xss-lock, xidle-dim and xidle-inhibit

The screen dims after 590s and locks 10s later with i3lock-color through the new
screen-lock script; DPMS turns it off after 15 minutes.
This commit is contained in:
Daniele Fucini
2026-10-24 16:31:02 +02:00
parent 3ff5c20cb5
commit 12ba85b83b
2 changed files with 18 additions and 2 deletions
+4 -2
View File
@@ -233,8 +233,10 @@ myStartupHook = do
spawnOnce myScreenSetup
spawnOnce "systemctl --user start fehbg.timer"
spawnOnce "xsetroot -cursor_name left_ptr"
spawnOnce "xautolock -time 10 -locker slock -detectsleep"
spawnOnce "systemctl --user start xautolock-inhibit"
spawnOnce "xset s 590 10"
spawnOnce "xset dpms 0 0 900"
spawnOnce "xss-lock -n xidle-dim -l -- screen-lock"
spawnOnce "systemctl --user start xidle-inhibit"
spawnOnce "redshift-gtk"
spawnOnce "systemctl --user start udiskie"
spawnOnce "nm-applet"