[feature] better screen-locking strategy

This commit is contained in:
Klesh Wong 2020-10-12 23:47:47 +08:00
parent 21d7cffb05
commit 6183780776

View File

@ -9,10 +9,11 @@ $HOME/.config/dunst/launch.sh
# start dwmbar daemon
$HOME/.config/dwm/dwmbar
# setup screen locker
xset s 300
# disable screen saver / turn off monitor if inactived for 300 secs
xset s off
xset dpms 300 300 300
killall xss-lock
xss-lock --ignore-sleep (which slock) &
xss-lock (which slock) &
# start network applet
pgrep -x nm-applet || nm-applet &