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