From 0a97c8a1096bb878d8e5506f58101e3f1441c505 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 19 Jul 2025 20:23:15 +0200 Subject: [PATCH] tmux/sync+zoom --- sh/tmux.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 88ec3aa..d336731 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -213,11 +213,13 @@ set-option -g status-fg white # line 1 set-option -g status-format[0] '\ #{W:\ -#[bg=##181818]#{?window_zoomed_flag,#[fg=magenta][, }\ +#[bg=##181818]#{?window_zoomed_flag,\ +#{?pane_synchronized,#[fg=magenta][,#[fg=red][},#{?pane_synchronized,#[fg=blue][, }}\ #{?window_active,#[fg=green],\ #{?window_activity_flag,#[fg=red],#[fg=yellow]}}\ #[bg=##282828]#{window_name}\ -#[bg=##181818]#{?window_zoomed_flag,#[fg=magenta]], }\ +#[bg=##181818]#{?window_zoomed_flag,\ +#{?pane_synchronized,#[fg=magenta]],#[fg=red]]},#{?pane_synchronized,#[fg=blue]], }}\ #[fg=default]\ #[bg=default] \ } \