diff --git a/nix/configurations/vanadium/home/xmobar.nix b/nix/configurations/vanadium/home/xmobar.nix index 7dc65e8f..0da89245 100644 --- a/nix/configurations/vanadium/home/xmobar.nix +++ b/nix/configurations/vanadium/home/xmobar.nix @@ -18,6 +18,7 @@ lib.makeBinPath [ ghc pkgs.libnotify + pkgs.hrt-time ] }" ''; diff --git a/nix/configurations/vanadium/home/xmobar/xmobar.hs b/nix/configurations/vanadium/home/xmobar/xmobar.hs index 058bf24e..1b1bd923 100644 --- a/nix/configurations/vanadium/home/xmobar/xmobar.hs +++ b/nix/configurations/vanadium/home/xmobar/xmobar.hs @@ -61,10 +61,7 @@ config = , textOffset = 2 , commands = - [ Run $ DateZone "%a %d %H:%M:%S" "" "" "hereClock" (1 &second) - , Run $ DateZone "%H:%M" "" "Europe/Dublin" "dublinClock" (10 &second) - , Run $ DateZone "%H:%M" "" "Europe/Paris" "parisClock" (10 &second) - , Run $ DateZone "%H:%M" "" "Asia/Taipei" "tstClock" (10 &second) + [ Run $ DateZone "%a %d %H:%M:%S" "" "" "hereClock" (1 &second) , Run $ Com "tomorrow" @@ -103,6 +100,7 @@ config = ] (6 &second) , Run $ Com "powerprofilesctl" ["get"] "" (6 &second) + , Run $ Com "hrt-time" ["days"] "" (60 &minute) , Run XMonadLog , Run $ Weather @@ -123,15 +121,9 @@ config = " %XMonadLog% " <> alignSep config <> intercalate "|" - [ (unwords . map greyFg) - [ "[DUB: %dublinClock%]" - , "[CDG: %parisClock%]" - , "[TPE: %tstClock%]" - ] - <> " " - , " %RCSS% " + [ " %RCSS% " , " %battery%, %powerprofilesctl%) " - , " %hereClock% (%tomorrow%) " + , " %hereClock% (%tomorrow%, %hrt-time%) " ] }