change tmux statusbar and other settings
This commit is contained in:
parent
8f27ee326d
commit
4a8028dce7
1 changed files with 33 additions and 20 deletions
53
tmux.conf
53
tmux.conf
|
@ -14,32 +14,25 @@ bind-key -T copy-mode-vi C-k select-pane -U
|
|||
bind-key -T copy-mode-vi C-l select-pane -R
|
||||
|
||||
# default statusbar colors
|
||||
set-option -g status-bg black #base02
|
||||
set-option -g status-fg yellow #yellow
|
||||
set-option -g status-attr default
|
||||
set-option -g status-bg black
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg brightblue #base0
|
||||
set-window-option -g window-status-bg default
|
||||
#set-window-option -g window-status-attr dim
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg brightred #orange
|
||||
set-window-option -g window-status-current-bg default
|
||||
#set-window-option -g window-status-current-attr bright
|
||||
|
||||
# pane border
|
||||
set-option -g pane-border-fg black #base02
|
||||
set-option -g pane-active-border-fg brightgreen #base01
|
||||
|
||||
# message text
|
||||
set-option -g message-bg black #base02
|
||||
set-option -g message-fg brightred #orange
|
||||
# reload tmux.conf with <prefix>-r
|
||||
unbind r
|
||||
bind r \
|
||||
source-file ~/.tmux.conf \;\
|
||||
display 'Reloaded tmux config'
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour blue #blue
|
||||
set-option -g display-panes-colour brightred #orange
|
||||
|
||||
# start numbering at 1
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
|
||||
# renew statusline every 10 seconds
|
||||
set -g status-interval 10
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour green #green
|
||||
|
||||
|
@ -48,3 +41,23 @@ set-window-option -g window-status-bell-style fg=black,bg=red #base02, red
|
|||
|
||||
# term color
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# right status
|
||||
set -g status-right '#[fg=colour3]#[fg=colour1]#[bg=colour1]#[fg=colour7] %H:%M %d-%b '
|
||||
|
||||
# left status
|
||||
set -g status-left '#[bg=colour1]#[fg=colour0]#{?client_prefix,#[bg=colour2],} ❐ #[bg=colour8]#[fg=colour1]#{?client_prefix,#[fg=colour2],}#{?window_zoomed_flag, 🔍 ,}#[fg=colour1] '
|
||||
|
||||
# current window status
|
||||
set -g window-status-current-format "#[fg=colour8]#[bg=colour1]#[fg=colour7]#[bg=colour1] #I #[fg=colour7] #W #[fg=colour1]#[bg=colour8]"
|
||||
|
||||
# normal window status
|
||||
set -g window-status-format "#[fg=colour244]#[bg=colour8]#I #[fg=colour240] #W"
|
||||
|
||||
# COLOURS
|
||||
#colour0 (black)
|
||||
#colour1 (red)
|
||||
#colour2 (green)
|
||||
#colour3 (yellow)
|
||||
#colour4 (blue)
|
||||
#colour7 (white)
|
||||
|
|
Loading…
Add table
Reference in a new issue