mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 07:39:36 +01:00
Change tmux colors based on background
This commit is contained in:
parent
293fb7c111
commit
6cd63335d4
16
.tmux.conf
16
.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'
|
||||
|
Loading…
Reference in New Issue
Block a user