aboutsummaryrefslogtreecommitdiff
path: root/des/i3/i3blocks/scripts/xray
blob: 04070b1e0e6789002ca5f37383f025bdb2b4fc89 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

ICON_VPN_ON=󰦝
ICON_VPN_OFF=󰦞

if systemctl is-active --quiet xray; then
    echo "<span color='#49e20e'>$ICON_VPN_ON </span>"
else
    echo "<span color='#cb4b16'>$ICON_VPN_OFF </span>"
fi