Remove lemonbar scripts

This commit is contained in:
Riyyi
2020-07-14 14:18:17 +02:00
parent bd2a323752
commit 99f13642c1
10 changed files with 7 additions and 310 deletions
-15
View File
@@ -1,15 +0,0 @@
#!/bin/sh
ICON=""
WIRED="${1:-eth0}"
COLOR="-"
if [ ! -d /sys/class/net/${WIRED} ] ||
[ "$(cat /sys/class/net/$WIRED/operstate)" = 'down' ] ||
[ "$(ip a | grep $WIRED | awk '/inet / {print $2}')" = "" ]; then
COLOR="$COLOR7"
else
COLOR="$COLOR15"
fi
printf "%s\n" "iface%{F$COLOR}$ICON%{F-}"