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,32 +172,34 @@
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" =
format = "󰃭 {:%Y-%m-%d}"; let
tooltip-format = "<tt><small>{calendar}</small></tt>"; size = "${toString config.stylix.fonts.sizes.popups}pt";
calendar = { in
mode = "year"; {
mode-mon-col = 3; format = "󰃭 {:%Y-%m-%d}";
weeks-pos = "left"; tooltip-format = "<span size='${size}'>{calendar}</span>";
on-scroll = 1; calendar = {
format = mode = "month";
let weeks-pos = "left";
scheme = config.lib.stylix.scheme.withHashtag; on-scroll = 1;
in format =
{ let
months = "<span color='${scheme.red}'><b>{}</b></span>"; scheme = config.lib.stylix.scheme.withHashtag;
weeks = "<span color='${scheme.cyan}'><b>W{}</b></span>"; in
weekdays = "<span color='${scheme.orange}'><b>{}</b></span>"; {
days = "<span color='${scheme.base05}'><b>{}</b></span>"; months = "<span color='${scheme.red}'><b>{}</b></span>";
today = "<span color='${scheme.magenta}'><b><i>{}</i></b></span>"; weeks = "<span color='${scheme.cyan}'><i>W{}</i></span>";
}; weekdays = "<span color='${scheme.orange}'><u>{}</u></span>";
days = "<span color='${scheme.base05}'>{}</span>";
today = "<span color='${scheme.magenta}'><b><u>{}</u></b></span>";
};
};
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}"; clock.format = "󰥔 {:%R}";
backlight = { backlight = {
format = "{icon}"; format = "{icon}";