tmux/formats
This commit is contained in:
parent
75ccb1ed3c
commit
b303ae8a3f
1 changed files with 3 additions and 15 deletions
18
sh/tmux.sh
18
sh/tmux.sh
|
@ -35,23 +35,15 @@ set-option -g status 3
|
|||
# enable title
|
||||
set-option -g set-titles on
|
||||
# set title to working directory
|
||||
set-option -g set-titles-string '#{pane_current_command} @ #{pane_current_path}'
|
||||
#set-option -g set-titles-string ''
|
||||
|
||||
# status bar
|
||||
set-option -g status-bg black
|
||||
set-option -g status-fg gray
|
||||
set-option -g status-format[2] '#{pane_current_path}'
|
||||
set-option -g status-format[1] '#[fg=yellow]#{session_name}#{W: #{?window_active,#[fg=green],#[fg=default]}#{window_index}#{?window_flags,#{window_flags}, } #{window_name}}#[align=right] #[fg=blue]#{pane_width}×#{pane_height}#{P: #{?pane_active,#[fg=green],#[fg=default]}#{pane_index}}'
|
||||
set-option -g status-format[2] '#[fg=cyan]#{pane_current_path}#[align=right] #[fg=yellow]%Y-%m-%d %H:%M:%S'
|
||||
set-option -g status-interval 1
|
||||
set-option -g status-justify left
|
||||
set-option -g status-left '#[fg=yellow]#{session_name} '
|
||||
set-option -g status-position top
|
||||
set-option -g status-right ' #[fg=yellow]%Y-%m-%d %H:%M:%S'
|
||||
|
||||
set-option -g window-status-current-format '#{window_index} #{window_name}'
|
||||
set-option -g window-status-format '#{window_index} #{window_name}'
|
||||
|
||||
# windows separator
|
||||
set-option -g window-status-separator ' '
|
||||
|
||||
# style for messages
|
||||
set-option -g message-style bg=red,fg=white
|
||||
|
@ -70,10 +62,6 @@ set -g window-status-activity-style bg=black,fg=red
|
|||
# disable silence monitoring
|
||||
set-window-option -g monitor-silence 0
|
||||
|
||||
# windows style
|
||||
set-window-option -g window-status-current-style bg=black,fg=green
|
||||
set-window-option -g window-status-style bg=black,fg=gray
|
||||
|
||||
# bind key to detach client
|
||||
bind-key -n F6 detach-client
|
||||
|
||||
|
|
Loading…
Reference in a new issue