From 6cd63335d4a32a59bc93fdb1663a3ec4d5374b2f Mon Sep 17 00:00:00 2001 From: Asocia Date: Thu, 15 Jul 2021 16:00:31 +0300 Subject: [PATCH] Change tmux colors based on background --- .tmux.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index ed9eb75..556c014 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -100,14 +100,14 @@ set -g pane-border-style fg='colour238' setw -g window-status-style fg='colour121',bg='colour235','none' setw -g window-status-activity-style bg='colour235',fg='colour154','none' setw -g window-status-separator '' -set -g status-left '#[fg=colour232,bg=colour154] #S #[fg=colour154,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #W #[fg=colour238,bg=colour236,nobold,nounderscore,noitalics]' +set -g status-left '#[fg=colour0,bg=colour3] #S #[fg=colour3,bg=colour4,nobold,nounderscore,noitalics]#[fg=colour0,bg=colour4] #W #[fg=colour4,bg=colour0,nobold,nounderscore,noitalics]' # above status + whoami and uptime # set -g status-left '#[fg=colour232,bg=colour154] #S #[fg=colour154,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #W #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235] #(whoami)  #(uptime | cut -d " " -f 1,2,3) #[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]' -set -g status-right '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235] %R  %a  %h-%d #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #{battery_color_charge_fg}#[bg=colour238]#{battery_icon} #{battery_percentage}#[fg=colour154,bg=colour238,nobold,nounderscore,noitalics] #{prefix_highlight}' -setw -g window-status-format '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[default] #I  #W #[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]' -setw -g window-status-current-format '#[fg=colour235,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #I  #W  #F #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]' +setw -g window-status-current-format '#[fg=colour0,bg=colour4,bold,nounderscore,noitalics]#[fg=colour0,bg=colour4] #I  #W  #F #[fg=colour4,bg=colour0,nobold,nounderscore,noitalics]' +setw -g window-status-format '#[fg=colour0,bg=colour10,nobold,nounderscore,noitalics]#[fg=colour0,bg=colour10] #I  #W #[fg=colour10,bg=colour0,nobold,nounderscore,noitalics]' +set -g status-right '#[fg=colour235,bg=colour0,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235] %R  %a  %h-%d #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #{battery_color_charge_fg}#[bg=colour238]#{battery_icon} #{battery_percentage}#[fg=colour3,bg=colour238,nobold,nounderscore,noitalics] #{prefix_highlight}' set -g status-interval 1 @@ -116,10 +116,10 @@ set-option -g automatic-rename-format '#{b:pane_current_path}' # Plugin Customizations -set -g @prefix_highlight_fg 'colour232' # default is 'colour231' -set -g @prefix_highlight_bg 'colour154' # default is 'colour04' -set -g @prefix_highlight_sync_mode_attr 'fg=colour21,bg=colour154' # default is 'fg=default,bg=yellow' -set -g @prefix_highlight_copy_mode_attr 'fg=colour160,bg=colour154' # default is 'fg=default,bg=yellow' +set -g @prefix_highlight_fg 'colour0' +set -g @prefix_highlight_bg 'colour3' +set -g @prefix_highlight_sync_mode_attr 'fg=colour0,bg=colour3' +set -g @prefix_highlight_copy_mode_attr 'fg=colour0,bg=colour3' set -g @prefix_highlight_show_copy_mode 'on' set -g @prefix_highlight_show_sync_mode 'on' set -g @prefix_highlight_sync_prompt 'SYNC'