adjust color scheme

also start using true color for tmux instead of 256 colors
This commit is contained in:
Jidbo 2020-04-10 13:49:27 +02:00
parent 45f77b3f8a
commit 927db2961b
Signed by untrusted user: jidbo
GPG key ID: 54C320BF0E44C5CA

View file

@ -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 <prefix>-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)