xmobar: nixified

This commit is contained in:
Primrose 2024-11-19 20:07:20 +01:00
parent ca189781b5
commit 5f61f70ec2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 49 additions and 41 deletions

View file

@ -246,8 +246,8 @@ myStartupHook = do
spawn "feh --no-fehbg --bg-fill ~/.wallpaper &" -- wallpaper
xmobarOf :: ScreenId -> IO StatusBarConfig
xmobarOf 0 = pure $ statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc" (pure myPrettyPrinter)
xmobarOf 1 = pure $ statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc" (pure myPrettyPrinter)
xmobarOf 0 = pure $ statusBarProp "xmobar -x 0" (pure myPrettyPrinter)
xmobarOf 1 = pure $ statusBarProp "xmobar -x 1" (pure myPrettyPrinter)
xmobarOf _ = mempty
-- Note: `xmonad --restart` will make Firefox's fullscreen work duck the xmobar stop working