diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 78f34a9..65d81db 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -48,7 +48,7 @@ myConfig = myStartupHook :: X () myStartupHook = do - spawnOnce "feh --bg-fill ~/Documents/images/posters/IMG_1088_resize.jpg" + spawnOnce myBackground spawnOnce myScreenLockCmd spawnOnce notifcationDaemon @@ -199,6 +199,7 @@ iogBrowser = "google-chrome-stable" launcher = "rofi -show drun" logseq = "logseq" musicPlayer = "spotify" +myBackground = "feh --bg-fill ~/Documents/images/posters/IMG_1088_resize.jpg" notifcationDaemon = "dunst" obs = "obs" screenshot = "flameshot gui" @@ -223,8 +224,8 @@ myKeybinds = ("M-i", spawn incognitoBrowser), ("M-f", spawn screenshot), ("M-p", spawn launcher), - ("M-S-e", spawn enableEDP1), - ("M-S-h", spawn enableHDMI1), + ("M-S-e", spawn enableEDP1 >> spawn myBackground ), + ("M-S-h", spawn enableHDMI1 >> spawn myBackground ), ("M-S-", spawn myTerminal), ("M-", kill1), -- Layout control