Waybar calendar use year mode, enable right click to change mode
This commit is contained in:
parent
23bff7fb9d
commit
0f0b82837b
|
@ -176,9 +176,9 @@
|
|||
};
|
||||
"clock#calendar" = {
|
||||
format = " {:%Y-%m-%d}";
|
||||
tooltip-format = "<tt>{calendar}</tt>";
|
||||
tooltip-format = "<tt><small>{calendar}</small></tt>";
|
||||
calendar = {
|
||||
mode = "month";
|
||||
mode = "year";
|
||||
mode-mon-col = 3;
|
||||
weeks-pos = "left";
|
||||
on-scroll = 1;
|
||||
|
@ -191,10 +191,11 @@
|
|||
weeks = "<span color='${scheme.cyan}'><b>W{}</b></span>";
|
||||
weekdays = "<span color='${scheme.orange}'><b>{}</b></span>";
|
||||
days = "<span color='${scheme.base05}'><b>{}</b></span>";
|
||||
today = "<span color='${scheme.base0D}'><b><i>{}</i></b></span>";
|
||||
today = "<span color='${scheme.magenta}'><b><i>{}</i></b></span>";
|
||||
};
|
||||
};
|
||||
actions = {
|
||||
on-click-right = "mode";
|
||||
on-scroll-up = "shift_up";
|
||||
on-scroll-down = "shift_down";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue