mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-17 00:19:38 +00:00
xmobar: nixified
This commit is contained in:
parent
ca189781b5
commit
5f61f70ec2
4 changed files with 49 additions and 41 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue