diff --git a/system/home/desktop/waybar.nix b/system/home/desktop/waybar.nix index c4d7fae4..26740e42 100644 --- a/system/home/desktop/waybar.nix +++ b/system/home/desktop/waybar.nix @@ -172,32 +172,34 @@ tooltip-format = "{status} | {device_alias}"; on-click = "${pkgs.blueman}/bin/blueman-manager"; }; - "clock#calendar" = { - format = "󰃭 {:%Y-%m-%d}"; - tooltip-format = "{calendar}"; - calendar = { - mode = "year"; - mode-mon-col = 3; - weeks-pos = "left"; - on-scroll = 1; - format = - let - scheme = config.lib.stylix.scheme.withHashtag; - in - { - months = "{}"; - weeks = "W{}"; - weekdays = "{}"; - days = "{}"; - today = "{}"; - }; + "clock#calendar" = + let + size = "${toString config.stylix.fonts.sizes.popups}pt"; + in + { + format = "󰃭 {:%Y-%m-%d}"; + tooltip-format = "{calendar}"; + calendar = { + mode = "month"; + weeks-pos = "left"; + on-scroll = 1; + format = + let + scheme = config.lib.stylix.scheme.withHashtag; + in + { + months = "{}"; + weeks = "W{}"; + weekdays = "{}"; + days = "{}"; + today = "{}"; + }; + }; + actions = { + on-scroll-up = "shift_up"; + on-scroll-down = "shift_down"; + }; }; - actions = { - on-click-right = "mode"; - on-scroll-up = "shift_up"; - on-scroll-down = "shift_down"; - }; - }; clock.format = "󰥔 {:%R}"; backlight = { format = "{icon}";