From db8480362484fe942b288bfd9803fcecf027317f Mon Sep 17 00:00:00 2001 From: zaske Date: Thu, 17 Jul 2025 11:29:12 +0200 Subject: [PATCH] added script for tailscale waybar plugin --- Waybar/scripts/tailscale_status.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Waybar/scripts/tailscale_status.sh diff --git a/Waybar/scripts/tailscale_status.sh b/Waybar/scripts/tailscale_status.sh new file mode 100755 index 0000000..6c7921f --- /dev/null +++ b/Waybar/scripts/tailscale_status.sh @@ -0,0 +1,7 @@ +#!/bin/bash +status=$(tailscale status --self 2>/dev/null) +if [[ $? -ne 0 ]]; then + echo "OFF" +else + echo "ON" +fi