dotfiles/.config/xmobar/wireguard

11 lines
127 B
Plaintext
Raw Normal View History

2021-11-17 20:21:00 -08:00
#! /bin/bash
if ip address | grep -q "wg0"
then
color="#fb4934"
else
color="#b8bb26"
fi
echo "<fc=$color> </fc>"