fix: lock command not working

This commit is contained in:
AngeD 2023-04-11 18:58:38 +02:00
parent 5a424e9592
commit 43ed815be6
6 changed files with 8 additions and 5 deletions

View file

@ -18,7 +18,7 @@ feh --bg-fill "$XDG_CONFIG_HOME/wallpapers/monerochan.png" --no-fehbg &
cycle=15 # lock 15 sec after stimeout
dpms="$((stimeout + cycle + 1))" # turn off screen 1 sec after lock
xss-lock -n "feh --fullscreen $lockimg" -- "i3lock -ftni $lockimg"
xss-lock -n "feh --fullscreen $lockimg" -- lock
xset s "$stimeout" "$cycle"
xset dpms "$dpms" "$dpms" "$dpms"
) &