Compare commits
No commits in common. "3352880bbed315fd4983ab22a04e4c0c47bcae7d" and "b96c8047170bf0ca2fad726ca1171cedda1d75e0" have entirely different histories.
3352880bbe
...
b96c804717
1 changed files with 19 additions and 11 deletions
30
sh/tmux.sh
30
sh/tmux.sh
|
@ -71,7 +71,7 @@ rwx_tmux_status() {
|
|||
;;
|
||||
*) ;;
|
||||
esac
|
||||
tmux set-option -g status \"\${current}\"
|
||||
tmux set-option status \"\${current}\"
|
||||
}
|
||||
rwx_tmux_uptime() {
|
||||
local since=\"\$(uptime --since)\"
|
||||
|
@ -134,16 +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}\
|
||||
/ \
|
||||
#{pane_current_command}\
|
||||
- \
|
||||
#{window_width} × #{window_height}\
|
||||
/ \
|
||||
#{pane_width} × #{pane_height}\
|
||||
→ \
|
||||
#{window_name} (#{window_index}∕#{session_windows})\
|
||||
→ \
|
||||
#{pane_current_command} (#{pane_index}∕#{window_panes})\
|
||||
'
|
||||
|
||||
# ╭────────┬──────╮
|
||||
|
@ -224,6 +220,7 @@ set-option -g status-format[2] '\
|
|||
#[bg=default] \
|
||||
\
|
||||
#[align=right]\
|
||||
#(sh -c \". ${script}; rwx_tmux_uptime\")\
|
||||
'
|
||||
|
||||
# line 4
|
||||
|
@ -238,7 +235,10 @@ set-option -g status-format[3] '\
|
|||
} \
|
||||
\
|
||||
#[align=right]\
|
||||
#(sh -c \". ${script}; rwx_tmux_uptime\")\
|
||||
#[fg=green]\
|
||||
#[bg=##181818] \
|
||||
#[bg=##282828]#{session_name}\
|
||||
#[bg=##181818] \
|
||||
'
|
||||
|
||||
# line 5
|
||||
|
@ -252,6 +252,14 @@ set-option -g status-format[4] '\
|
|||
#[bg=default] \
|
||||
} \
|
||||
\
|
||||
#[align=centre]\
|
||||
#[fg=green]\
|
||||
#[bg=##181818] \
|
||||
#[bg=##282828]#{window_width}×#{window_height}\
|
||||
#[bg=##181818] \
|
||||
#[fg=default]\
|
||||
#[bg=default] \
|
||||
\
|
||||
#[align=right]\
|
||||
#{?uid,#[fg=green],#[fg=red]}\
|
||||
#[bg=##181818] \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue