mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +00:00
Add xautolock
This commit is contained in:
@@ -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
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user