1
0
Fork 0
dotfiles/files/.config/polybar/openvpn.bash

8 lines
130 B
Bash
Raw Normal View History

2018-03-10 04:04:29 +00:00
#!/bin/bash
if ! pgrep "openvpn" &>/dev/null || ! ip link | grep -q tun; then
echo "$ICO_VPN_OFF "
else
echo "$ICO_VPN_ON "
fi