476 current 2025-07-09 20:19:31 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-07-09 20:19:56 -04:00
parent 4d3d15c9f1
commit 4d08a2b88d
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ foreground = ${colors.foreground}
;font-5 = Unifont:size=64:antialias=false;1
; modules-left = date battery cpu memory coretemp pulseaudio-control network bluetooth cmus
modules-left = date battery cpu memory coretemp pulseaudio-control network bluetooth tailscale cmus
modules-left = date battery cpu memory coretemp pulseaudio-control network tailscale bluetooth cmus
modules-center = title
; modules-right = pomodoro xkeyboard bspwm
modules-right = xkeyboard bspwm

View File

@@ -11,5 +11,5 @@
awk = "/run/current-system/sw/bin/awk";
in
pkgs.writeShellScriptBin "tailscale-ctl" ''
tailscale status | rg "$(hostname)" &> /dev/null && echo "%{F#2193ff} %{F#ffffff}[$(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 ""
''