Waybar : Add right click on clock to open calendar.

This commit is contained in:
Dmitry Voronin 2024-09-13 04:44:17 +03:00
parent b902544093
commit b24c67de70
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -43,7 +43,7 @@ in {
"sway/language" = { "sway/language" = {
tooltip = false; tooltip = false;
on-click = "swaymsg 'input * xkb_switch_layout next'"; on-click = "swaymsg 'input * xkb_switch_layout next'";
on-click-right = "xdg-open https://translate.yandex.ru"; on-click-right = "xdg-open https://translate.yandex.ru/";
}; };
"sway/scratchpad" = { "sway/scratchpad" = {
format = "{icon} {count}"; format = "{icon} {count}";
@ -62,6 +62,7 @@ in {
# timezone = "America/New_York"; # timezone = "America/New_York";
tooltip-format = "<big><tt>{calendar}</tt></big>"; tooltip-format = "<big><tt>{calendar}</tt></big>";
format-alt = "{:%d %a %H:%M}"; format-alt = "{:%d %a %H:%M}";
on-click-right = "xdg-open https://cloud.voronind.com/apps/calendar/";
}; };
battery = { battery = {
states = { states = {