mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
Add screen locking support
This commit is contained in:
parent
6fa9c41127
commit
7651f5e7d3
|
@ -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 &
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue