tmux.conf: Update tmux conf

This commit is contained in:
Sanchayan Maity 2019-12-13 15:00:22 +05:30 committed by Sanchayan Maity
parent c80bb00a55
commit d11d4c3502

View file

@ -83,32 +83,38 @@ bind 9 select-pane -t 9
set-option -g default-terminal "tmux-256color"
set-option -sa terminal-overrides ',tmux-256color:RGB'
# Status Bar Colors
set-option -g status-attr dim
set-option -g status-bg colour237 # slightly brighter than molokai vim tabs
set-option -g status-fg colour187 # monokai yellow
run-shell 'tmux setenv -g TMUX_VERSION $(tmux -V | \
sed -En "s/^tmux ([0-9]+(.[0-9]+)?).*/\1/p")'
# Window Title Tab Colors
set-window-option -g window-status-attr dim
set-window-option -g window-status-bg colour237 # brighter gray
set-window-option -g window-status-fg colour187 # monokai yellow
set-window-option -g window-status-current-attr dim
#set-window-option -g window-status-current-bg colour161 # monokai pink
#set-window-option -g window-status-current-fg '#000000'
set-window-option -g window-status-current-bg '#000000'
set-window-option -g window-status-current-fg colour161 # monokai pink
if-shell -b '[ "$(echo "$TMUX_VERSION < 2.9" | bc)" = 1 ]' " \
set-option -g status-attr dim; \
set-option -g status-bg colour237; \
set-option -g status-fg colour187; \
set-window-option -g window-status-attr dim; \
set-window-option -g window-status-bg colour237; \
set-window-option -g window-status-fg colour187; \
set-window-option -g window-status-current-attr dim; \
set-window-option -g window-status-current-bg '#000000'; \
set-window-option -g window-status-current-fg colour161; \
set-option -g pane-active-border-bg '#101010'; \
set-option -g pane-active-border-fg '#87d700'; \
set-option -g pane-border-bg '#101010'; \
set-option -g pane-border-fg '#505050'; \
set-option -g mode-bg '#000000'; \
set-option -g mode-fg colour187; \
set-option -g message-bg '#000000'; \
set-option -g message-fg colour187; \
"
# Pane Border Colors
set-option -g pane-active-border-bg '#101010'
set-option -g pane-active-border-fg '#87d700' # monokai-green
set-option -g pane-border-bg '#101010'
set-option -g pane-border-fg '#505050'
# TODO: Not sure what these are.
set-option -g mode-bg '#000000'
set-option -g mode-fg colour187 # monokai yellow
set-option -g message-bg '#000000'
set-option -g message-fg colour187 # monokai yel
if-shell -b '[ "$(echo "$TMUX_VERSION > 2.9" | bc)" = 1 ]' " \
set-option -g status-style fg=colour187,bg=colour237; \
set-window-option -g window-status-style fg=colour187,bg=colour237; \
set-window-option -g window-status-current-style fg=colour161,bg='#000000'; \
set-option -g pane-border-style fg='#505050',bg='#101010'; \
set-option -g pane-active-border-style fg='#87d700',bg='#101010'; \
set-option -g mode-style fg=colour187,bg='#000000'; \
set-option -g message-style fg=colour187,bg='#000000'; \
"
# Plugins
run-shell '~/.tmux/plugins/tmux-resurrect/resurrect.tmux'