xinitrc: autolock screen after 5 minutes of inactivity

This commit is contained in:
Thomas Preisner 2020-10-16 18:21:13 +02:00
parent 2b6fe582f1
commit d1e4bc0ac3

View file

@ -21,6 +21,9 @@ fi
# autolock on suspend
xss-lock -- i3lock --nofork &
# autolock after 5 minutes of inactivity
xset s 300
# set background
feh --randomize --bg-fill ~/misc/wallpapers