476 current 2025-07-09 20:19:31 25.05.20250424.f771eb4 6.12.24 *
This commit is contained in:
@@ -62,7 +62,7 @@ foreground = ${colors.foreground}
|
|||||||
;font-5 = Unifont:size=64:antialias=false;1
|
;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 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-center = title
|
||||||
; modules-right = pomodoro xkeyboard bspwm
|
; modules-right = pomodoro xkeyboard bspwm
|
||||||
modules-right = xkeyboard bspwm
|
modules-right = xkeyboard bspwm
|
||||||
|
|||||||
@@ -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}⍀ %{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 ""
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user