From f97f6a0fcdec1519b305bdbfe38925a6eba05e76 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 30 Jun 2025 03:40:04 +0200 Subject: [PATCH] servers/right --- sh/tmux.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 7fe872d..625d187 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -27,15 +27,20 @@ rwx_tmux_servers() { \" for path in \${paths}; do name=\"\$(basename \"\${path}\")\" + text=\"\${text}\\ +#[fg=default]\\ +#[bg=default] \\ +\" if [ \"\${active}\" = \"\${name}\" ]; then text=\"\${text}#[fg=green]\" else text=\"\${text}#[fg=yellow]\" fi text=\"\${text}\\ -#[bg=##181818] #[bg=##282828]\\ -\${name}\\ -#[bg=##181818] #[bg=default]#[fg=default] \" +#[bg=##181818] \\ +#[bg=##282828]\${name}\\ +#[bg=##181818] \\ +\" done IFS=\"\${ifs}\" echo \"\${text}\" @@ -166,9 +171,9 @@ set-option -g status-format[1] '\ # line 3 set-option -g status-format[2] '\ -#[fg=yellow]\ -#(sh -c \". ${script}; rwx_tmux_servers\")\ #[fg=cyan]#{pane_current_path}\ +#[align=right]\ +#(sh -c \". ${script}; rwx_tmux_servers\")\ ' # line 4