From 28f686d60c77495e186b3a5ba900d5d54c8c3012 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 12 Oct 2023 10:40:43 -0400 Subject: added emojis, switched to wttrbar and foot completely --- home-config/waybar/config | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'home-config/waybar') diff --git a/home-config/waybar/config b/home-config/waybar/config index 3dff06a..df9f6bb 100644 --- a/home-config/waybar/config +++ b/home-config/waybar/config @@ -56,7 +56,7 @@ "ethernet": [""], "disconnected": ["󰤭"] }, - "on-click": "alacritty -e doas nmtui", + "on-click": "foot -t alacritty doas nmtui", "tooltip": false }, "pulseaudio": { @@ -96,16 +96,24 @@ "on-scroll-down": "light -A 1", "on-scroll-up": "light -U 1" }, - "custom/weather": { + "custom/weather_OLD": { "format-alt": "{}", "format": "{alt}: {}", "format-alt-click": "click-right", "interval": 1800, "return-type": "json", - "on-click": "alacritty --class ala-wttr --hold -e curl https://v2.wttr.in", + "on-click": "foot -a ala-wttr -H curl https://v2.wttr.in", "exec": "~/.config/waybar/modules/weather.sh", "exec-if": "ping wttr.in -c1" }, + "custom/weather": { + "format": "{} °", + "tooltip": true, + "interval": 3600, + "exec": "exit=101; while [ $exit = 101 ]; do wttrbar --main-indicator temp_F --fahrenheit; exit=$(echo $?); sleep 1; done", + "on-click": "foot -a ala-wttr -H curl https://v2.wttr.in", + "return-type": "json" + }, "idle_inhibitor": { "format": "{icon}", "format-icons": { -- cgit v1.2.3