Added Polybar config
This commit is contained in:
parent
ad74391beb
commit
57b4642ed0
10 changed files with 483 additions and 0 deletions
9
config/polybar/scripts/vpn-networkmanager-status.sh
Executable file
9
config/polybar/scripts/vpn-networkmanager-status.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue