Added autolock to i3 config

This commit is contained in:
Random936 2023-11-07 16:36:42 -08:00
parent 708d9ef935
commit 2a0c3744f8

View File

@ -3,8 +3,10 @@ set $mod Mod4
# Set font
font pango:monospace 8
# Init i3 lock
# Init i3 lock and enable autolock
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id xset dpms 600
exec --no-startup-id xautolock -time 10 -locker i3lock
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status