Updated.
This commit is contained in:
4
polybar/scripts/openvpn-status.sh
Normal file
4
polybar/scripts/openvpn-status.sh
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
printf "VPN: " && (pgrep -a openvpn$ | head -n 1 | awk '{print $NF }' | cut -d '.' -f 1 && echo down) | head -n 1
|
Reference in New Issue
Block a user