Compare commits

...

9 commits

Author SHA1 Message Date
3352880bbe
title/pane
All checks were successful
/ job (push) Successful in 3m59s
2025-07-02 04:36:51 +02:00
66af2d5373
size/title 2025-07-02 04:32:56 +02:00
7d324e6138
size/tab 2025-07-02 04:15:14 +02:00
063ece9015
size/3 2025-07-02 04:13:09 +02:00
82e69fab3e
size/yellow 2025-07-02 04:00:45 +02:00
0e640b88f9
−numbers 2025-07-02 03:48:10 +02:00
eba8fa52b1
uptime 2025-07-02 03:43:27 +02:00
029034d687
−session 2025-07-02 03:41:45 +02:00
caa762b137
fix 2025-07-02 03:25:56 +02:00

View file

@ -71,7 +71,7 @@ rwx_tmux_status() {
;; ;;
*) ;; *) ;;
esac esac
tmux set-option status \"\${current}\" tmux set-option -g status \"\${current}\"
} }
rwx_tmux_uptime() { rwx_tmux_uptime() {
local since=\"\$(uptime --since)\" local since=\"\$(uptime --since)\"
@ -134,12 +134,16 @@ set-option -g set-titles on
# set title to working directory # set title to working directory
set-option -g set-titles-string '\ set-option -g set-titles-string '\
#(sh -c \". ${script}; rwx_tmux_server\")\ #(sh -c \". ${script}; rwx_tmux_server\")\
\ / \
#{session_name}\ #{session_name}\
\ / \
#{window_name} (#{window_index}∕#{session_windows})\ #{window_name}\
\ / \
#{pane_current_command} (#{pane_index}∕#{window_panes})\ #{pane_current_command}\
- \
#{window_width} × #{window_height}\
/ \
#{pane_width} × #{pane_height}\
' '
# ╭────────┬──────╮ # ╭────────┬──────╮
@ -220,7 +224,6 @@ set-option -g status-format[2] '\
#[bg=default] \ #[bg=default] \
\ \
#[align=right]\ #[align=right]\
#(sh -c \". ${script}; rwx_tmux_uptime\")\
' '
# line 4 # line 4
@ -235,10 +238,7 @@ set-option -g status-format[3] '\
} \ } \
\ \
#[align=right]\ #[align=right]\
#[fg=green]\ #(sh -c \". ${script}; rwx_tmux_uptime\")\
#[bg=##181818] \
#[bg=##282828]#{session_name}\
#[bg=##181818] \
' '
# line 5 # line 5
@ -252,14 +252,6 @@ set-option -g status-format[4] '\
#[bg=default] \ #[bg=default] \
} \ } \
\ \
#[align=centre]\
#[fg=green]\
#[bg=##181818] \
#[bg=##282828]#{window_width}×#{window_height}\
#[bg=##181818] \
#[fg=default]\
#[bg=default] \
\
#[align=right]\ #[align=right]\
#{?uid,#[fg=green],#[fg=red]}\ #{?uid,#[fg=green],#[fg=red]}\
#[bg=##181818] \ #[bg=##181818] \