From 360477ee4af21c91e8475e2a9ab3f0e962d98106 Mon Sep 17 00:00:00 2001 From: benj Date: Mon, 9 Feb 2026 18:19:37 +0800 Subject: add xray status --- des/i3/i3blocks/scripts/xray | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 des/i3/i3blocks/scripts/xray (limited to 'des/i3/i3blocks/scripts/xray') diff --git a/des/i3/i3blocks/scripts/xray b/des/i3/i3blocks/scripts/xray new file mode 100755 index 0000000..04070b1 --- /dev/null +++ b/des/i3/i3blocks/scripts/xray @@ -0,0 +1,10 @@ +#!/bin/bash + +ICON_VPN_ON=󰦝 +ICON_VPN_OFF=󰦞 + +if systemctl is-active --quiet xray; then + echo "$ICON_VPN_ON " +else + echo "$ICON_VPN_OFF " +fi \ No newline at end of file -- cgit v1.2.3