Added Polybar config

This commit is contained in:
Damien Broqua 2020-11-17 13:58:04 +01:00
parent ad74391beb
commit 57b4642ed0
10 changed files with 483 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#!/bin/sh
vpn="$(nmcli -t -f name,type connection show --order name --active 2>/dev/null | grep vpn | head -1 | cut -d ':' -f 1)"
if [ -n "$vpn" ]; then
echo "$vpn"
else
echo ""
fi