From 318c1de7ddeda46387b1f3f96a4288c549fa6e73 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 25 May 2024 00:04:43 +0200 Subject: [PATCH] fix waybar calendar weekdays --- modules/desktop/sway.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 21a5c35..a8df370 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -164,13 +164,13 @@ mode = "year"; mode-mon-col = 3; weeks-pos = "left"; - on-scroll = 1; format = { - months = "{}"; - days = "{}"; - weeks = "W{}"; - weekdays = "{}"; - today = "{}"; + months = "{}"; + weekdays = "{}"; + # https://github.com/Alexays/Waybar/issues/2827 + weeks = "{:%W}"; + days = "{}"; + today = "{}"; }; }; actions = {