diff --git a/sh/tmux.sh b/sh/tmux.sh index 12f5820..2b7d9bb 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -134,16 +134,16 @@ 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}\ - / \ + / \ #{pane_current_command}\ - - \ -#{window_width} × #{window_height}\ - / \ -#{pane_width} × #{pane_height}\ + - \ +#{window_width}×#{window_height}\ + / \ +#{pane_width}×#{pane_height}\ ' # ╭────────┬──────╮ @@ -238,21 +238,10 @@ set-option -g status-format[3] '\ } \ \ #[align=right]\ -#(sh -c \". ${script}; rwx_tmux_uptime\")\ ' # line 5 set-option -g status-format[4] '\ -#{P:\ -#{?pane_active,#[fg=green],#[fg=yellow]}\ -#[bg=##181818] \ -#[bg=##282828]#{pane_width}×#{pane_height}\ -#[bg=##181818] \ -#[fg=default]\ -#[bg=default] \ -} \ -\ -#[align=right]\ #{?uid,#[fg=green],#[fg=red]}\ #[bg=##181818] \ #[bg=##282828]#{user}\ @@ -263,6 +252,11 @@ set-option -g status-format[4] '\ #[bg=##181818] \ #[bg=##282828]#{host}\ #[bg=##181818] \ +#[fg=default]\ +#[bg=default] \ +\ +#[align=right]\ +#(sh -c \". ${script}; rwx_tmux_uptime\")\ ' # refresh period