xmonad: added xscreensaver
This commit is contained in:
parent
624150557c
commit
a7f4db6e04
|
@ -48,6 +48,7 @@ myConfig =
|
||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
myStartupHook = do
|
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 "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 --
|
-- xmobar --
|
||||||
|
@ -177,6 +178,8 @@ musicPlayer = "spotify"
|
||||||
obs = "obs"
|
obs = "obs"
|
||||||
screenshot = "flameshot gui"
|
screenshot = "flameshot gui"
|
||||||
terminal = "termonad"
|
terminal = "termonad"
|
||||||
|
myScreenLockCmd = "xscreensaver --no-splash"
|
||||||
|
myScreenLock = "xscreensaver-command -lock"
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
-- Keybinds --
|
-- Keybinds --
|
||||||
|
@ -195,6 +198,7 @@ myKeybinds =
|
||||||
("M-z", sendMessage Expand),
|
("M-z", sendMessage Expand),
|
||||||
("M-d", sendMessage NextLayout),
|
("M-d", sendMessage NextLayout),
|
||||||
("M-v", sendMessage Shrink),
|
("M-v", sendMessage Shrink),
|
||||||
|
("M-C-S-l", spawn myScreenLock),
|
||||||
("M-C-d", setLayout $ Layout (layoutHook myConfig)),
|
("M-C-d", setLayout $ Layout (layoutHook myConfig)),
|
||||||
("M-C-w", shiftToProjectPrompt promptTheme),
|
("M-C-w", shiftToProjectPrompt promptTheme),
|
||||||
("M-w", switchProjectPrompt promptTheme)
|
("M-w", switchProjectPrompt promptTheme)
|
||||||
|
|
Loading…
Reference in a new issue