Compare commits

...

2 Commits

Author SHA1 Message Date
d8fc5aa9c3 i3status-rust: Add weather command 2022-12-16 19:43:59 +01:00
9670eb8445 i3status-rust: Make ping more robust 2022-12-16 19:43:51 +01:00

View File

@@ -78,7 +78,12 @@ signal = 0
[[block]]
block = "custom"
command = "ping -c 1 8.8.8.8 >/dev/null 2>/dev/null && echo || echo "
command = "ping -n -q -w 2 -c 1 8.8.8.8 >/dev/null 2>/dev/null && echo || echo "
[[block]]
block = "custom"
command = "curl -s 'https://wttr.in/Ansbach?m&T&format=%c%t' | sed 's/ / /g'"
interval = 1800
[[block]]
block = "time"