summaryrefslogtreecommitdiffstats
path: root/.local/bin/conky/weather.sh
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-03-29 15:01:12 +0200
committerJoe <rrbo@proton.me>2023-03-29 15:01:12 +0200
commitdb653b2f10abdc24de547dda3a3ae7a5ec471245 (patch)
tree15d01516936f4ee2c8ca1a8069a719ac1efb3dad /.local/bin/conky/weather.sh
parentup (diff)
downloaddotfiles-bsd-db653b2f10abdc24de547dda3a3ae7a5ec471245.tar.gz
dotfiles-bsd-db653b2f10abdc24de547dda3a3ae7a5ec471245.tar.bz2
dotfiles-bsd-db653b2f10abdc24de547dda3a3ae7a5ec471245.tar.xz
dotfiles-bsd-db653b2f10abdc24de547dda3a3ae7a5ec471245.tar.zst
dotfiles-bsd-db653b2f10abdc24de547dda3a3ae7a5ec471245.zip
up
Diffstat (limited to '.local/bin/conky/weather.sh')
-rwxr-xr-x.local/bin/conky/weather.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/.local/bin/conky/weather.sh b/.local/bin/conky/weather.sh
deleted file mode 100755
index b24f589..0000000
--- a/.local/bin/conky/weather.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-case "$(hostname -s)" in
- mother | po-rbo)
- ping -c1 -w1 9.9.9.9 >/dev/null 2>&1 || exit
- ;;
- mars)
- ping -c1 -t1 9.9.9.9 >/dev/null 2>&1 || exit
- ;;
-esac
-
-echo '${color1}${font1}WEAT ${hr 2}
-${font2}${color0}${alignc}${execi 1800 curl wttr.in/Lyon?T0 --silent --max-time 3}${font}'