aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts/weather
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/scripts/weather')
-rwxr-xr-x.config/waybar/scripts/weather3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/waybar/scripts/weather b/.config/waybar/scripts/weather
new file mode 100755
index 0000000..c80b387
--- /dev/null
+++ b/.config/waybar/scripts/weather
@@ -0,0 +1,3 @@
+#!/bin/sh
+#curl -s "wttr.in/?format=3" | awk '{print $3, $4}'
+curl -s "wttr.in/?format='%c%t'" | sed "s/'//g" | sed 's/ / /g'