From 3f20c1f0dd6a73dcecb273dac6a75bf66471412d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 10 Dec 2023 17:27:52 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(waybar):=20added=20?= =?UTF-8?q?click=20actions=20to=20the=20weather=20module=20and=20added=20c?= =?UTF-8?q?alendar=20actions=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/waybar/config.jsonc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index f53bdb84..4c5ffa2d 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -54,9 +54,11 @@ }, "custom/weather": { "exec": "python3 ~/.config/waybar/scripts/weather.py", - "restart-interval": 300, + "restart-interval": 100, "return-type": "json", - "on-click": "xdg-open https://www.eltiempo.es/alicante.html" + "on-click": "kitty --hold --class center-float wttr Alicante", + "on-click-right": "kitty --hold --class center-float wttr -v2 Alicante", + "on-click-middle": "xdg-open https://www.eltiempo.es/alicante.html" }, "custom/notifications": { "tooltip": false, @@ -145,14 +147,15 @@ }, "interval": 1, "format": "{:%H:%M:%OS}  ", - "format-alt": "{:%A, %B %d, %Y}  ", + "format-alt": "{:%A, %B %d, %Y}  ", "actions": { "on-click-right": "mode", "on-click-forward": "tz_up", "on-click-backward": "tz_down", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" - } + }, + "on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23" }, "pulseaudio": { "format": "{icon} {volume}% {format_source}", @@ -323,7 +326,8 @@ "on-click-backward": "tz_down", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" - } + }, + "on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23" } }, {