diff --git a/nix/configurations/vanadium/home/xmobar/xmobar.hs b/nix/configurations/vanadium/home/xmobar/xmobar.hs index c033dc03..d06a1e7d 100644 --- a/nix/configurations/vanadium/home/xmobar/xmobar.hs +++ b/nix/configurations/vanadium/home/xmobar/xmobar.hs @@ -62,20 +62,23 @@ config = (15 &minute) ] , template = - " %XMonadLog% " - <> alignSep config - <> intercalate "|" - [ unwords - [ "[AUA: %arubaClock%]" - , "[DUB: %dublinClock%]" - , "[CDG: %cetClock%]" - , "[TPE: %tstClock%]" - ] - <> " " - , " %RCSS% " - , " %battery%, %powerprofilesctl%) " - , " %hereClock% (%tomorrow%) " - ] + let + greyFg x = "" <> x <> "" + in + " %XMonadLog% " + <> alignSep config + <> intercalate "|" + [ (unwords . map greyFg) + [ "[AUA: %arubaClock%]" + , "[DUB: %dublinClock%]" + , "[CDG: %cetClock%]" + , "[TPE: %tstClock%]" + ] + <> " " + , " %RCSS% " + , " %battery%, %powerprofilesctl%) " + , " %hereClock% (%tomorrow%) " + ] } second :: Int -> Int