From b97dc1474930583a0febde579468c647d740fd03 Mon Sep 17 00:00:00 2001 From: Corey Smith Date: Wed, 23 Jul 2025 14:29:51 -0700 Subject: [PATCH] Addresess --- makehome.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makehome.sh b/makehome.sh index d3f5e13..797d9d4 100644 --- a/makehome.sh +++ b/makehome.sh @@ -34,7 +34,7 @@ set -g status-interval 5 # Add a space to the beginning of the status bar # This keeps the default session name '[#S]' and adds a space before it set -g status-left-length 300 -set -g status-left '#[bold]  #(pretty=$(hostnamectl --pretty 2>/dev/null); [ -n "$pretty" ] && echo "$pretty" || hostname)#[nobold] | #{user}@#{host} | #(curl -s ifconfig.me) | #(if docker info >/dev/null 2>&1; then echo " $(docker ps -q | wc -l)/$(docker ps -aq | wc -l)"; else echo "#[fg=red] down#[default]"; fi) | ' +set -g status-left '#[bold]  #(pretty=$(hostnamectl --pretty 2>/dev/null); [ -n "$pretty" ] && echo "$pretty" || hostname)#[nobold] | #{user}@#{host} | #(hostname -I | tr " " "\n" | grep -E "^(10\.|192\.168\.|172\.(1[6-9]|2[0-9]|3[01])\.)"|head -1||echo "no-private") / #(timeout 2 curl -s ifconfig.me 2>/dev/null||echo "no-public") | #(if docker info >/dev/null 2>&1; then echo " $(docker ps -q | wc -l)/$(docker ps -aq | wc -l)"; else echo "#[fg=red] down#[default]"; fi) | ' # Add a space to the end of the status bar # This keeps the default hostname and date/time, and adds a space after