dotfiles/i3/i3blocks/internet
2019-10-10 10:34:28 -05:00

9 lines
141 B
Bash
Executable File

#!/bin/bash
if ping -c 1 1.1.1.1 > /dev/null 2>&1; then
echo "😛"
else
echo "😤"
echo "$(date)" >> /tmp/internet-outages
fi