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 signal-desktop
slack slack
# desktop environments # desktop environment
bspwm
haskellPackages.xmobar haskellPackages.xmobar
haskellPackages.xmonad-contrib haskellPackages.xmonad-contrib
haskellPackages.xmonad-extras haskellPackages.xmonad-extras
pavucontrol pavucontrol
polybar
stalonetray stalonetray
sxhkd sxhkd
xautolock
xmonad-with-packages xmonad-with-packages
## aws ## 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 "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 "picom --config ~/.config/compton.conf -b"
spawnOnce "stalonetray &" 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. -- Now run xmonad with all the defaults we set up.