From 892c2faa451c6dc68854998cdcb5d1652500803e Mon Sep 17 00:00:00 2001 From: Ivan Dimitrov Date: Sat, 17 Feb 2024 14:33:33 +0200 Subject: [PATCH] make waybar date timezones work --- modules/home/programs/waybar/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/home/programs/waybar/default.nix b/modules/home/programs/waybar/default.nix index 4bfaebf..885df5e 100644 --- a/modules/home/programs/waybar/default.nix +++ b/modules/home/programs/waybar/default.nix @@ -14,9 +14,13 @@ modules-right = [ "memory" "battery" "clock" ]; clock = { - format = "{:%a %Y-%m-%d %H:%M:%S}"; + format = "{:%a %Y-%m-%d %H:%M:%S %Z}"; interval = 1; timezones = [ "Europe/Sofia" "Europe/Prague" ]; + actions = { + on-scroll-up = "tz_up"; + on-scroll-down = "tz_down"; + }; }; "sway/workspaces" = {