From caa762b137f4bc2b1d44afe6d655606a31953156 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 03:25:56 +0200 Subject: [PATCH 1/9] fix --- sh/tmux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 663776f..8403411 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -71,7 +71,7 @@ rwx_tmux_status() { ;; *) ;; esac - tmux set-option status \"\${current}\" + tmux set-option -g status \"\${current}\" } rwx_tmux_uptime() { local since=\"\$(uptime --since)\" From 029034d687e0e9d6279fae1eefed87fd9646a443 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 03:41:45 +0200 Subject: [PATCH 2/9] =?UTF-8?q?=E2=88=92session?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/tmux.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 8403411..d454fff 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -235,10 +235,6 @@ set-option -g status-format[3] '\ } \ \ #[align=right]\ -#[fg=green]\ -#[bg=##181818] \ -#[bg=##282828]#{session_name}\ -#[bg=##181818] \ ' # line 5 From eba8fa52b1c90b84cd0ed178390b871c06ad1200 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 03:43:27 +0200 Subject: [PATCH 3/9] uptime --- sh/tmux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index d454fff..dd1f19f 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -220,7 +220,6 @@ set-option -g status-format[2] '\ #[bg=default] \ \ #[align=right]\ -#(sh -c \". ${script}; rwx_tmux_uptime\")\ ' # line 4 @@ -235,6 +234,7 @@ set-option -g status-format[3] '\ } \ \ #[align=right]\ +#(sh -c \". ${script}; rwx_tmux_uptime\")\ ' # line 5 From 0e640b88f9d1146956e4051e2d1a5218e50cd48f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 03:48:10 +0200 Subject: [PATCH 4/9] =?UTF-8?q?=E2=88=92numbers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/tmux.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index dd1f19f..b6dc4d1 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -134,12 +134,12 @@ set-option -g set-titles on # set title to working directory set-option -g set-titles-string '\ #(sh -c \". ${script}; rwx_tmux_server\")\ - → \ + / \ #{session_name}\ - → \ -#{window_name} (#{window_index}∕#{session_windows})\ - → \ -#{pane_current_command} (#{pane_index}∕#{window_panes})\ + / \ +#{window_name}\ + / \ +#{pane_current_command}\ ' # ╭────────┬──────╮ From 82e69fab3e6003d1c9db0de0b10171b67ea91c0d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 04:00:45 +0200 Subject: [PATCH 5/9] size/yellow --- sh/tmux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index b6dc4d1..f2b1037 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -249,7 +249,7 @@ set-option -g status-format[4] '\ } \ \ #[align=centre]\ -#[fg=green]\ +#[fg=yellow]\ #[bg=##181818] \ #[bg=##282828]#{window_width}×#{window_height}\ #[bg=##181818] \ From 063ece90155b205d552a52d5c4ce9f39f245f4ef Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 04:13:09 +0200 Subject: [PATCH 6/9] size/3 --- sh/tmux.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index f2b1037..0c5b36d 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -220,6 +220,8 @@ set-option -g status-format[2] '\ #[bg=default] \ \ #[align=right]\ +#[fg=yellow]\ +#{window_width}×#{window_height}\ ' # line 4 @@ -248,14 +250,6 @@ set-option -g status-format[4] '\ #[bg=default] \ } \ \ -#[align=centre]\ -#[fg=yellow]\ -#[bg=##181818] \ -#[bg=##282828]#{window_width}×#{window_height}\ -#[bg=##181818] \ -#[fg=default]\ -#[bg=default] \ -\ #[align=right]\ #{?uid,#[fg=green],#[fg=red]}\ #[bg=##181818] \ From 7d324e6138a027ec63cea852593374e58bd3e780 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 04:15:14 +0200 Subject: [PATCH 7/9] size/tab --- sh/tmux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 0c5b36d..7b4d645 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -221,7 +221,9 @@ set-option -g status-format[2] '\ \ #[align=right]\ #[fg=yellow]\ -#{window_width}×#{window_height}\ +#[bg=##181818] \ +#[bg=##282828]#{window_width}×#{window_height}\ +#[bg=##181818] \ ' # line 4 From 66af2d5373d334f92134b324bec1aa1fcc4e4c12 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 04:32:56 +0200 Subject: [PATCH 8/9] size/title --- sh/tmux.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 7b4d645..a750b2b 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -140,6 +140,8 @@ set-option -g set-titles-string '\ #{window_name}\ / \ #{pane_current_command}\ + | \ +#{window_width}×#{window_height}\ ' # ╭────────┬──────╮ @@ -220,10 +222,6 @@ set-option -g status-format[2] '\ #[bg=default] \ \ #[align=right]\ -#[fg=yellow]\ -#[bg=##181818] \ -#[bg=##282828]#{window_width}×#{window_height}\ -#[bg=##181818] \ ' # line 4 From 3352880bbed315fd4983ab22a04e4c0c47bcae7d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 2 Jul 2025 04:36:51 +0200 Subject: [PATCH 9/9] title/pane --- sh/tmux.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index a750b2b..12f5820 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -140,8 +140,10 @@ set-option -g set-titles-string '\ #{window_name}\ / \ #{pane_current_command}\ - | \ -#{window_width}×#{window_height}\ + - \ +#{window_width} × #{window_height}\ + / \ +#{pane_width} × #{pane_height}\ ' # ╭────────┬──────╮