aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts/weather
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-07-31 19:26:35 +0300
committerawy <awy@tutamail.com>2024-07-31 19:26:35 +0300
commit0518efb332f5c9cf558cdd4619eab329f77b22b1 (patch)
tree1842928b903015da541c84b2e3083b38d7fb5ba1 /.config/waybar/scripts/weather
clean
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'