dotfiles/i3/i3blocks/internet
David Todd d6e33d7a25 Add check for internet
We will have a happy face (😛) most of the time
When the internet goes down, this will become an steamed face (😤)

Also interesting note, the unicode name for the steamed face is "Face
with Look of Triumph"
2019-03-04 23:46:56 -06:00

8 lines
97 B
Bash
Executable File

#!/bin/bash
if ping -c 1 1.1.1.1 > /dev/null 2>&1; then
echo "😛"
else
echo "😤"
fi