xmobar: add montreal clock and use airport shortname

This commit is contained in:
Primrose 2025-08-12 17:56:41 +02:00
parent ff5affd1c5
commit 049312150a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -21,6 +21,7 @@ config =
, 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" (10 &second) , Run $ DateZone "%H:%M" "" "America/Aruba" "arubaClock" (10 &second)
, Run $ DateZone "%H:%M" "" "America/Montreal" "montrealClock" (10 &second)
, Run $ DateZone "%H:%M" "" "Europe/Paris" "cetClock" (10 &second) , Run $ DateZone "%H:%M" "" "Europe/Paris" "cetClock" (10 &second)
, Run $ DateZone "%H:%M" "" "Asia/Taipei" "tstClock" (10 &second) , Run $ DateZone "%H:%M" "" "Asia/Taipei" "tstClock" (10 &second)
, Run $ , Run $
@ -63,9 +64,10 @@ config =
<> alignSep config <> alignSep config
<> intercalate "|" <> intercalate "|"
[ unwords [ unwords
[ "<fc=#c9c9c9>[Aruba: %arubaClock%]</fc>" [ "<fc=#c9c9c9>[AUA: %arubaClock%]</fc>"
, "<fc=#c9c9c9>[CET: %cetClock%]</fc>" , "<fc=#c9c9c9>[YUL: %montrealClock%]</fc>"
, "<fc=#c9c9c9>[TST: %tstClock%]</fc>" , "<fc=#c9c9c9>[CDG: %cetClock%]</fc>"
, "<fc=#c9c9c9>[TPE: %tstClock%]</fc>"
] ]
<> " " <> " "
, " %LFRN% " , " %LFRN% "