Files
dotfiles/home/bin/i3blocks/internet
T

10 lines
173 B
Bash
Raw Normal View History

2019-03-04 23:46:56 -06:00
#!/bin/bash
if ping -c 1 1.1.1.1 > /dev/null 2>&1; then
echo "😛"
else
2019-10-16 11:43:29 -05:00
echo "🤬"
2019-10-08 19:42:26 -05:00
echo "$(date)" >> /tmp/internet-outages
2019-10-14 11:49:32 -05:00
nfty send "Internet Outage"
2019-03-04 23:46:56 -06:00
fi