xmobar: shrink in height and better font align

This commit is contained in:
Primrose 2025-08-12 10:25:43 +02:00
parent 8de11f3b12
commit 40a975a9b3
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -6,11 +6,18 @@ import Data.List (intercalate)
config :: Config config :: Config
config = config =
defaultConfig defaultConfig
{ overrideRedirect = False {
, font = "Iosevka 13" -- as docked
, bgColor = "#000000" overrideRedirect = False
, fgColor = "#FFFFFF"
, position = BottomH 30 -- For framework 13
, dpi = 150
, font = "Iosevka 8"
, fgColor = "#FFFFFF"
, bgColor = "#000000"
, position = BottomH 24
, textOffset = 2
, commands = , commands =
[ Run $ Date "%a %d %H:%M:%S" "hereClock" (1 &second) [ Run $ Date "%a %d %H:%M:%S" "hereClock" (1 &second)
, Run $ DateZone "%H:%M" "" "America/Aruba" "arubaClock" (1 &second) , Run $ DateZone "%H:%M" "" "America/Aruba" "arubaClock" (1 &second)
@ -51,17 +58,15 @@ config =
] ]
(15 &minute) (15 &minute)
] ]
, sepChar = "%"
, alignSep = "}{"
, template = , template =
" %XMonadLog% " " %XMonadLog% "
<> alignSep config <> alignSep config
<> intercalate "|" <> intercalate "|"
[ unwords [ unwords
[ "<fc=#c9c9c9>[Aruba: %arubaClock%]</fc>" [ "<fc=#c9c9c9>[Aruba: %arubaClock%]</fc>"
, "<fc=#c9c9c9>[CET: %cetClock%]</fc>" , "<fc=#c9c9c9>[CET: %cetClock%]</fc>"
, "<fc=#c9c9c9>[TST: %tstClock%]</fc>" , "<fc=#c9c9c9>[TST: %tstClock%]</fc>"
] ]
<> " " <> " "
, " %LFRN% " , " %LFRN% "
, " %battery%, %powerprofilesctl%) " , " %battery%, %powerprofilesctl%) "