diff --git a/i3/i3blocks.conf b/i3/i3blocks.conf index 0987204..ea3a44c 100644 --- a/i3/i3blocks.conf +++ b/i3/i3blocks.conf @@ -74,3 +74,7 @@ label=🗔 label=📅 interval=30 +[internet] +interval=15 + + diff --git a/i3/i3blocks/internet b/i3/i3blocks/internet new file mode 100755 index 0000000..f8d6fda --- /dev/null +++ b/i3/i3blocks/internet @@ -0,0 +1,7 @@ +#!/bin/bash + +if ping -c 1 1.1.1.1 > /dev/null 2>&1; then + echo "😛" +else + echo "😤" +fi