Compare commits
5 commits
445467b1b5
...
14b7de0fc5
Author | SHA1 | Date | |
---|---|---|---|
14b7de0fc5 | |||
5d27e449ca | |||
b151930a82 | |||
f975780de7 | |||
17ac706404 |
1 changed files with 14 additions and 11 deletions
25
sh/tmux.sh
25
sh/tmux.sh
|
@ -52,11 +52,11 @@ 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 '\
|
||||||
#(basename \"\${TMUX}\" | cut --delimiter \",\" --fields \"1\")\
|
#(basename \"\${TMUX}\" | cut --delimiter \",\" --fields \"1\")\
|
||||||
- \
|
→ \
|
||||||
#{session_name}\
|
#{session_name}\
|
||||||
- \
|
→ \
|
||||||
#{window_index}∕#{session_windows} #{window_name}\
|
#{window_index}∕#{session_windows} #{window_name}\
|
||||||
- \
|
→ \
|
||||||
#{pane_index}∕#{window_panes} #{pane_current_command}\
|
#{pane_index}∕#{window_panes} #{pane_current_command}\
|
||||||
'
|
'
|
||||||
|
|
||||||
|
@ -160,31 +160,34 @@ set-option -g status-format[2] '\
|
||||||
# line 4
|
# line 4
|
||||||
set-option -g status-format[3] '\
|
set-option -g status-format[3] '\
|
||||||
#{P:\
|
#{P:\
|
||||||
#[bg=##181818] #[bg=##282828]\
|
|
||||||
#{?pane_active,#[fg=green],#[fg=yellow]}\
|
#{?pane_active,#[fg=green],#[fg=yellow]}\
|
||||||
#{pane_current_command}\
|
|
||||||
#[bg=##181818] \
|
#[bg=##181818] \
|
||||||
|
#[bg=##282828]#{pane_current_command}\
|
||||||
|
#[bg=##181818] \
|
||||||
|
#[fg=default]\
|
||||||
#[bg=default] \
|
#[bg=default] \
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[bg=##181818] #[bg=##282828]\
|
|
||||||
#{?uid,#[fg=green],#[fg=red]}\
|
#{?uid,#[fg=green],#[fg=red]}\
|
||||||
#{user}\
|
#[bg=##181818] \
|
||||||
|
#[bg=##282828]#{user}\
|
||||||
#[bg=##181818] \
|
#[bg=##181818] \
|
||||||
'
|
'
|
||||||
|
|
||||||
# line 5
|
# line 5
|
||||||
set-option -g status-format[4] '\
|
set-option -g status-format[4] '\
|
||||||
#{P:\
|
#{P:\
|
||||||
#[bg=##181818] #[bg=##282828]\
|
|
||||||
#{?pane_active,#[fg=green],#[fg=yellow]}\
|
#{?pane_active,#[fg=green],#[fg=yellow]}\
|
||||||
#{pane_width}×#{pane_height}\
|
|
||||||
#[bg=##181818] \
|
#[bg=##181818] \
|
||||||
|
#[bg=##282828]#{pane_width}×#{pane_height}\
|
||||||
|
#[bg=##181818] \
|
||||||
|
#[fg=default]\
|
||||||
#[bg=default] \
|
#[bg=default] \
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[bg=##181818] #[bg=##282828]\
|
#[fg=green]\
|
||||||
#[fg=green]#{window_width}×#{window_height}\
|
#[bg=##181818] \
|
||||||
|
#[bg=##282828]#{window_width}×#{window_height}\
|
||||||
#[bg=##181818] \
|
#[bg=##181818] \
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue