From 927db2961b071015be741ecb2473cd32f6746ae8 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Fri, 10 Apr 2020 13:49:27 +0200 Subject: [PATCH] adjust color scheme also start using true color for tmux instead of 256 colors --- shell/tmux.conf | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/shell/tmux.conf b/shell/tmux.conf index 4569a0d..4228a85 100644 --- a/shell/tmux.conf +++ b/shell/tmux.conf @@ -13,9 +13,6 @@ bind-key -T copy-mode-vi C-j select-pane -D 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 - # reload tmux.conf with -r unbind r bind r \ @@ -26,6 +23,7 @@ bind -n M-h previous-window bind -n M-l next-window bind -n M-j switch-client -n bind -n M-k switch-client -p + # pane number display set-option -g display-panes-active-colour blue #blue set-option -g display-panes-colour brightred #orange @@ -43,17 +41,21 @@ set-window-option -g clock-mode-colour green #green # bell set-window-option -g window-status-bell-style fg=black,bg=red #base02, red +# default statusbar colors +set-option -g status-bg black + # term color set -g default-terminal "screen-256color" +set-option -ga terminal-overrides ",xterm-256color:Tc" # right status -set -g status-right '#[fg=colour3]#[fg=colour1]#[bg=colour1]#[fg=colour7] %H:%M %d-%b ' +set -g status-right '#[fg=colour3]#[fg=#51000f]#[bg=#51000f]#[fg=#ffffff] %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] ' +set -g status-left '#[bg=#1A202C]#[fg=#ffffff]#{?client_prefix,#[bg=#51000f],} ❐ #[bg=colour8]#[fg=#1A202C]#{?client_prefix,#[fg=#51000f],}#{?window_zoomed_flag, 🔍 ,} ' # 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]" +set -g window-status-current-format "#[fg=colour8]#[bg=#51000f]#[fg=colour7]#[bg=#51000f] #I #[fg=colour7] #W #[fg=#51000f]#[bg=colour8]" # normal window status set -g window-status-format "#[fg=colour244]#[bg=colour8]#I #[fg=colour240] #W" @@ -61,6 +63,8 @@ set -g window-status-format "#[fg=colour244]#[bg=colour8]#I #[fg=colour240] # # escape time set-option -sg escape-time 10 +set -g status-justify "left" + # COLOURS #colour0 (black) #colour1 (red)