tmux-net: trailing space after the ✕ offline glyph for status-bar padding
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ local_ip=$("$HOME/.local/bin/tmux-ip" 2>/dev/null || true)
|
||||
vpn_ip=$("$HOME/.local/bin/tmux-vpn-ip" 2>/dev/null || true)
|
||||
|
||||
if [ -z "${local_ip:-}" ] && [ -z "${vpn_ip:-}" ]; then
|
||||
printf '\xe2\x9c\x95\n' # ✕ no active connection
|
||||
printf '\xe2\x9c\x95 \n' # ✕ no active connection (trailing space for padding)
|
||||
elif [ -n "${vpn_ip:-}" ]; then
|
||||
printf '\xe2\x8c\x82 %s / \xe2\x87\xa1 %s\n' "${local_ip:-}" "$vpn_ip"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user