dotfiles/.config/polybar/scripts/check-vpn.sh

9 lines
113 B
Bash
Raw Permalink Normal View History

2022-07-29 20:51:50 -05:00
#!/bin/bash
if pgrep openvpn > /dev/null; then
echo -n "%{u#00bf07}"
else
echo -n "%{u#ff1c01}"
fi
echo "VPN"