added wireguard polybar stuff

This commit is contained in:
2020-09-13 14:00:51 +02:00
parent 0e400e95ef
commit 8214587583
4 changed files with 59 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env sh
set -e
ID_LIGHT="0f9ed364-1b54-4a95-a45a-a24114f5be6b"
ID_FULL="fa9f53b2-29b4-4c0e-80ca-38937ef8cad8"
if nmcli connection show --active | grep "$ID_LIGHT" > /dev/null
then
echo -n 
exit 0
fi
if nmcli connection show --active | grep "$ID_FULL" > /dev/null
then
echo -n 聯
exit 0
fi
echo -n 輦