Adjust waybar calendar format

Back to month view only, increase font size and adjust character
emphasis
This commit is contained in:
Evie Litherland-Smith 2024-11-11 16:09:14 +00:00
parent 90b5a2e71a
commit d18478508e

View file

@ -172,12 +172,15 @@
tooltip-format = "{status} | {device_alias}"; tooltip-format = "{status} | {device_alias}";
on-click = "${pkgs.blueman}/bin/blueman-manager"; on-click = "${pkgs.blueman}/bin/blueman-manager";
}; };
"clock#calendar" = { "clock#calendar" =
let
size = "${toString config.stylix.fonts.sizes.popups}pt";
in
{
format = "󰃭 {:%Y-%m-%d}"; format = "󰃭 {:%Y-%m-%d}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip-format = "<span size='${size}'>{calendar}</span>";
calendar = { calendar = {
mode = "year"; mode = "month";
mode-mon-col = 3;
weeks-pos = "left"; weeks-pos = "left";
on-scroll = 1; on-scroll = 1;
format = format =
@ -186,14 +189,13 @@
in in
{ {
months = "<span color='${scheme.red}'><b>{}</b></span>"; months = "<span color='${scheme.red}'><b>{}</b></span>";
weeks = "<span color='${scheme.cyan}'><b>W{}</b></span>"; weeks = "<span color='${scheme.cyan}'><i>W{}</i></span>";
weekdays = "<span color='${scheme.orange}'><b>{}</b></span>"; weekdays = "<span color='${scheme.orange}'><u>{}</u></span>";
days = "<span color='${scheme.base05}'><b>{}</b></span>"; days = "<span color='${scheme.base05}'>{}</span>";
today = "<span color='${scheme.magenta}'><b><i>{}</i></b></span>"; today = "<span color='${scheme.magenta}'><b><u>{}</u></b></span>";
}; };
}; };
actions = { actions = {
on-click-right = "mode";
on-scroll-up = "shift_up"; on-scroll-up = "shift_up";
on-scroll-down = "shift_down"; on-scroll-down = "shift_down";
}; };