475 current 2025-07-09 20:17:43 25.05.20250424.f771eb4 6.12.24 *
This commit is contained in:
@@ -11,5 +11,5 @@
|
|||||||
awk = "/run/current-system/sw/bin/awk";
|
awk = "/run/current-system/sw/bin/awk";
|
||||||
in
|
in
|
||||||
pkgs.writeShellScriptBin "tailscale-ctl" ''
|
pkgs.writeShellScriptBin "tailscale-ctl" ''
|
||||||
tailscale status | rg "$(hostname)" &> /dev/null && echo "%{F#2193ff}🔗 [$(ip addr show tailscale0 | rg "inet " | awk '{print $2}' | cut -d'/' -f1 )]" || echo ""
|
tailscale status | rg "$(hostname)" &> /dev/null && echo "%{F#2193ff}⍀ %{F#ffffff}[$(ip addr show tailscale0 | rg "inet " | awk '{print $2}' | cut -d'/' -f1 )]" || echo ""
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user