xmonad: added xscreensaver

This commit is contained in:
Serĉanto de Scio 2022-12-08 21:36:07 +10:00
parent 624150557c
commit a7f4db6e04
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -48,6 +48,7 @@ myConfig =
myStartupHook :: X ()
myStartupHook = do
spawnOnce "feh --bg-fill ~/Documents/images/Posters/StonehengeSun_alexander_4200.jpg --bg-fill ~/Documents/images/Posters/CradleMountain.jpg --bg-fill ~/Documents/images/Posters/Pleiades_WiseAntonucci_5000.jpg"
spawnOnce myScreenLockCmd
------------
-- xmobar --
@ -177,6 +178,8 @@ musicPlayer = "spotify"
obs = "obs"
screenshot = "flameshot gui"
terminal = "termonad"
myScreenLockCmd = "xscreensaver --no-splash"
myScreenLock = "xscreensaver-command -lock"
--------------
-- Keybinds --
@ -195,6 +198,7 @@ myKeybinds =
("M-z", sendMessage Expand),
("M-d", sendMessage NextLayout),
("M-v", sendMessage Shrink),
("M-C-S-l", spawn myScreenLock),
("M-C-d", setLayout $ Layout (layoutHook myConfig)),
("M-C-w", shiftToProjectPrompt promptTheme),
("M-w", switchProjectPrompt promptTheme)