diff --git a/.config/xmonad/xmonad.hs b/.config/xmonad/xmonad.hs index 616c6a8..97b9aae 100644 --- a/.config/xmonad/xmonad.hs +++ b/.config/xmonad/xmonad.hs @@ -80,14 +80,14 @@ myScreenshotName = "Screenshot-%Y-%m-%d-%H%M%S.png" myScreenLayout :: String myScreenLayout = "/home/fuxino/.local/bin/screen-layout" --- Safe to re-run (e.g. spawnOnce after this string changes and xmonad restarts) +-- Safe to re-run (e.g. spawnOnce after this string changes and xmonad restarts); keeps the last wallpapers across logins myScreenSetup :: String myScreenSetup = - "sleep 1; " ++ myScreenLayout ++ "; pgrep -x picom > /dev/null || picom -b -c" + "sleep 1; " ++ myScreenLayout ++ " --keep-wallpaper; pgrep -x picom > /dev/null || picom -b -c" -- Run when a monitor is (dis)connected; restarts trayer so it moves to the right screen myScreenHotplug :: String -myScreenHotplug = myScreenLayout +myScreenHotplug = myScreenLayout ++ " --keep-wallpaper" myScratchpads :: [NamedScratchpad] myScratchpads =