Add screen locking support

This commit is contained in:
ItsDrike 2021-08-19 01:42:17 +02:00
parent 6fa9c41127
commit 7651f5e7d3
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
2 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,13 @@
# 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)
xset s on
xset s 600 5 # 10 minutes, 5s for dimmer
# XSS lock with 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 &

View file

@ -69,8 +69,9 @@ pacman:
- xmonad - xmonad
- xmonad-contrib - xmonad-contrib
- xmobar - xmobar
- xss-lock
- xsecurelock
- numlockx - numlockx
#- lightdm
# GUI # GUI
- trayer # System tray - trayer # System tray