Update Xmonad/Xmobar config

This commit is contained in:
daniele 2025-03-05 16:48:45 +01:00
parent 97d6665afb
commit f3309f73c2
Signed by: fuxino
GPG Key ID: 981A2B2A3BBF5514
3 changed files with 5 additions and 6 deletions

View File

@ -49,11 +49,10 @@ Config { overrideRedirect = True
, Run Uptime
[ "--template" , "\xf017 Uptime: <days>d <hours>h <minutes>m"
] 600
, Run XPropertyLog "_XMONAD_TRAYPAD"
, Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10
, Run XMonadLog
]
, sepChar = "%"
, alignSep = "}{"
, template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% %_XMONAD_TRAYPAD% "
, template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% "
}

View File

@ -49,10 +49,11 @@ Config { overrideRedirect = True
, Run Uptime
[ "--template" , "\xf017 Uptime: <days>d <hours>h <minutes>m"
] 600
, Run XPropertyLog "_XMONAD_TRAYPAD"
, Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10
, Run XMonadLog
]
, sepChar = "%"
, alignSep = "}{"
, template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% "
, template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% %_XMONAD_TRAYPAD% "
}

View File

@ -155,9 +155,8 @@ myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myG
delta = 3 / 100
-- Xmobar
xmobar1 = statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc_laptop" (pure myXmobarPP)
xmobar2 = statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc_hdmi" (pure myXmobarPP)
xmobar1 = statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc_hdmi" (pure myXmobarPP)
xmobar2 = statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc_laptop" (pure myXmobarPP)
myXmobarPP :: PP
myXmobarPP =