Add xautolock

This commit is contained in:
Dave Gallant
2020-09-08 08:22:38 -04:00
parent a4420142f5
commit a1ea1fdaf2
2 changed files with 3 additions and 3 deletions

View File

@@ -78,15 +78,14 @@
signal-desktop
slack
# desktop environments
bspwm
# desktop environment
haskellPackages.xmobar
haskellPackages.xmonad-contrib
haskellPackages.xmonad-extras
pavucontrol
polybar
stalonetray
sxhkd
xautolock
xmonad-with-packages
## aws

View File

@@ -305,6 +305,7 @@ myStartupHook = do
spawnOnce "if xinput list | grep -qi 'mouse'; then xmodmap -e 'pointer = 3 2 1 ';fi" -- flip mouse buttons
spawnOnce "picom --config ~/.config/compton.conf -b"
spawnOnce "stalonetray &"
spawn "xautolock -time 5 -locker 'i3lock-fancy-rapid 10 2 pixels' -notify 30 -notifier \"notify-send -t 30000 'Locking in 30 seconds'\""
------------------------------------------------------------------------
-- Now run xmonad with all the defaults we set up.