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" = {
|
"clock#calendar" = {
|
||||||
format = " {:%Y-%m-%d}";
|
format = " {:%Y-%m-%d}";
|
||||||
tooltip-format = "<tt>{calendar}</tt>";
|
tooltip-format = "<tt><small>{calendar}</small></tt>";
|
||||||
calendar = {
|
calendar = {
|
||||||
mode = "month";
|
mode = "year";
|
||||||
mode-mon-col = 3;
|
mode-mon-col = 3;
|
||||||
weeks-pos = "left";
|
weeks-pos = "left";
|
||||||
on-scroll = 1;
|
on-scroll = 1;
|
||||||
|
@ -191,10 +191,11 @@
|
||||||
weeks = "<span color='${scheme.cyan}'><b>W{}</b></span>";
|
weeks = "<span color='${scheme.cyan}'><b>W{}</b></span>";
|
||||||
weekdays = "<span color='${scheme.orange}'><b>{}</b></span>";
|
weekdays = "<span color='${scheme.orange}'><b>{}</b></span>";
|
||||||
days = "<span color='${scheme.base05}'><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 = {
|
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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue