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