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

8 lines
130 B
Bash
Executable File

#!/bin/bash
if ! pgrep "openvpn" &>/dev/null || ! ip link | grep -q tun; then
echo "$ICO_VPN_OFF "
else
echo "$ICO_VPN_ON "
fi