Run xss-lock detached

This commit is contained in:
ItsDrike 2021-08-19 02:15:09 +02:00
parent 71c18ed1de
commit 965f9029fb
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -4,14 +4,14 @@
# if you use startx/xinit this file should also be soruced. # if you use startx/xinit this file should also be soruced.
# Set monitor order # Set monitor order
xrandr --output HDMI-1 --auto --output eDP-1 --right-of HDMI-1 --auto xrandr --output HDMI-1 --auto --output eDP-1 --right-of HDMI-1 --auto &
# Set X11 lockscreen delays (DPMS) # Set X11 lockscreen delays (DPMS)
xset s on xset s on &
xset s 600 5 # 10 minutes, 5s for dimmer xset s 600 5 & # 10 minutes, 5s for dimmer
# XSS lock with xsecurelock # XSS lock with xsecurelock
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
# Set the background with a custom `setbg` script # Set the background with a custom `setbg` script
setbg & setbg &