dotfiles/.config/polybar/scripts/check-vpn.sh
2022-07-29 20:51:50 -05:00

9 lines
113 B
Bash
Executable File

#!/bin/bash
if pgrep openvpn > /dev/null; then
echo -n "%{u#00bf07}"
else
echo -n "%{u#ff1c01}"
fi
echo "VPN"