From bfadc2e2a22518f9f0df35ff0ef87fa37155f95a Mon Sep 17 00:00:00 2001 From: Geo Angelopoulos Date: Thu, 13 Jun 2019 23:44:41 +0300 Subject: [PATCH 1/4] get terminal colors Get terminal colors and not hardcoded hex colors. More harmonic possibly. --- .tmux.conf.local | 54 ++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.tmux.conf.local b/.tmux.conf.local index 5791a4d0e..83a31bc20 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -55,7 +55,7 @@ tmux_conf_theme_highlight_focused_pane=false # focused pane colours: tmux_conf_theme_focused_pane_fg='default' -tmux_conf_theme_focused_pane_bg='#0087d7' # light blue +tmux_conf_theme_focused_pane_bg='brightcyan' # light blue # pane border style, possible values are: # - thin (default) @@ -63,31 +63,31 @@ tmux_conf_theme_focused_pane_bg='#0087d7' # light blue tmux_conf_theme_pane_border_style=thin # pane borders colours: -tmux_conf_theme_pane_border='#444444' # gray -tmux_conf_theme_pane_active_border='#00afff' # light blue +tmux_conf_theme_pane_border='white' # gray +tmux_conf_theme_pane_active_border='brightblue' # light blue # pane indicator colours -tmux_conf_theme_pane_indicator='#00afff' # light blue -tmux_conf_theme_pane_active_indicator='#00afff' # light blue +tmux_conf_theme_pane_indicator='brightblue' # light blue +tmux_conf_theme_pane_active_indicator='brightblue' # light blue # status line style -tmux_conf_theme_message_fg='#000000' # black -tmux_conf_theme_message_bg='#ffff00' # yellow +tmux_conf_theme_message_fg='black' # black +tmux_conf_theme_message_bg='yellow' # yellow tmux_conf_theme_message_attr='bold' # status line command style ( : Escape) -tmux_conf_theme_message_command_fg='#ffff00' # yellow -tmux_conf_theme_message_command_bg='#000000' # black +tmux_conf_theme_message_command_fg='yellow' # yellow +tmux_conf_theme_message_command_bg='black' # black tmux_conf_theme_message_command_attr='bold' # window modes style -tmux_conf_theme_mode_fg='#000000' # black -tmux_conf_theme_mode_bg='#ffff00' # yellow +tmux_conf_theme_mode_fg='black' # black +tmux_conf_theme_mode_bg='yellow' # yellow tmux_conf_theme_mode_attr='bold' # status line style -tmux_conf_theme_status_fg='#8a8a8a' # light gray -tmux_conf_theme_status_bg='#080808' # dark gray +tmux_conf_theme_status_fg='white' # light gray +tmux_conf_theme_status_bg='brightblack' # dark gray tmux_conf_theme_status_attr='none' # terminal title @@ -108,8 +108,8 @@ tmux_conf_theme_terminal_title='#h ❐ #S ● #I #W' # - #{hostname_ssh} # - #{username} # - #{username_ssh} -tmux_conf_theme_window_status_fg='#8a8a8a' # light gray -tmux_conf_theme_window_status_bg='#080808' # dark gray +tmux_conf_theme_window_status_fg='white' # light gray +tmux_conf_theme_window_status_bg='brightblack' # dark gray tmux_conf_theme_window_status_attr='none' tmux_conf_theme_window_status_format='#I #W' #tmux_conf_theme_window_status_format='#{circled_window_index} #W' @@ -123,8 +123,8 @@ tmux_conf_theme_window_status_format='#I #W' # - #{hostname_ssh} # - #{username} # - #{username_ssh} -tmux_conf_theme_window_status_current_fg='#000000' # black -tmux_conf_theme_window_status_current_bg='#00afff' # light blue +tmux_conf_theme_window_status_current_fg='black' # black +tmux_conf_theme_window_status_current_bg='brightblue' # light blue tmux_conf_theme_window_status_current_attr='bold' tmux_conf_theme_window_status_current_format='#I #W' #tmux_conf_theme_window_status_current_format='#{circled_window_index} #W' @@ -136,12 +136,12 @@ tmux_conf_theme_window_status_activity_bg='default' tmux_conf_theme_window_status_activity_attr='underscore' # window bell status style -tmux_conf_theme_window_status_bell_fg='#ffff00' # yellow +tmux_conf_theme_window_status_bell_fg='yellow' # yellow tmux_conf_theme_window_status_bell_bg='default' tmux_conf_theme_window_status_bell_attr='blink,bold' # window last status style -tmux_conf_theme_window_status_last_fg='#00afff' # light blue +tmux_conf_theme_window_status_last_fg='brightblue' # light blue tmux_conf_theme_window_status_last_bg='default' tmux_conf_theme_window_status_last_attr='none' @@ -182,13 +182,13 @@ tmux_conf_theme_status_left=' ❐ #S | ↑#{?uptime_d, #{uptime_d}d,}#{?uptime_h tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} ' # status left style -tmux_conf_theme_status_left_fg='#000000,#e4e4e4,#e4e4e4' # black, white , white -tmux_conf_theme_status_left_bg='#ffff00,#ff00af,#00afff' # yellow, pink, white blue +tmux_conf_theme_status_left_fg='black,brightwhite,brightwhite' # black, white , white +tmux_conf_theme_status_left_bg='yellow,brightred,brightblue' # yellow, pink, white blue tmux_conf_theme_status_left_attr='bold,none,none' # status right style -tmux_conf_theme_status_right_fg='#8a8a8a,#e4e4e4,#000000' # light gray, white, black -tmux_conf_theme_status_right_bg='#080808,#d70000,#e4e4e4' # dark gray, red, white +tmux_conf_theme_status_right_fg='white,brightwhite,black' # light gray, white, black +tmux_conf_theme_status_right_bg='brightblack,red,brightwhite' # dark gray, red, white tmux_conf_theme_status_right_attr='none,none,bold' # pairing indicator @@ -231,21 +231,21 @@ tmux_conf_battery_bar_length='auto' # - heat # - 'colour_full_fg,colour_empty_fg,colour_bg' tmux_conf_battery_bar_palette='gradient' -#tmux_conf_battery_bar_palette='#d70000,#e4e4e4,#000000' # red, white, black +#tmux_conf_battery_bar_palette='red,brightwhite,black' # red, white, black # battery hbar palette, possible values are: # - gradient (default) # - heat # - 'colour_low,colour_half,colour_full' tmux_conf_battery_hbar_palette='gradient' -#tmux_conf_battery_hbar_palette='#d70000,#ff5f00,#5fff00' # red, orange, green +#tmux_conf_battery_hbar_palette='red,brightyellow,green' # red, orange, green # battery vbar palette, possible values are: # - gradient (default) # - heat # - 'colour_low,colour_half,colour_full' tmux_conf_battery_vbar_palette='gradient' -#tmux_conf_battery_vbar_palette='#d70000,#ff5f00,#5fff00' # red, orange, green +#tmux_conf_battery_vbar_palette='red,brightyellow,green' # red, orange, green # symbols used to indicate whether battery is charging or discharging tmux_conf_battery_status_charging='↑' # U+2191 @@ -256,7 +256,7 @@ tmux_conf_battery_status_discharging='↓' # U+2193 # clock style (when you hit + t) # you may want to use %I:%M %p in place of %R in tmux_conf_theme_status_right -tmux_conf_theme_clock_colour='#00afff' # light blue +tmux_conf_theme_clock_colour='brightblue' # light blue tmux_conf_theme_clock_style='24' From efcfb9dda05846e8afc2af6135b7f993dd1917b8 Mon Sep 17 00:00:00 2001 From: Geo Angelopoulos Date: Mon, 17 Jun 2019 01:56:19 +0300 Subject: [PATCH 2/4] 256 color palette not limited to 16 colors --- .tmux.conf.local | 54 ++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.tmux.conf.local b/.tmux.conf.local index 83a31bc20..9b1e9f3b3 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -55,7 +55,7 @@ tmux_conf_theme_highlight_focused_pane=false # focused pane colours: tmux_conf_theme_focused_pane_fg='default' -tmux_conf_theme_focused_pane_bg='brightcyan' # light blue +tmux_conf_theme_focused_pane_bg='colour45' # light blue # pane border style, possible values are: # - thin (default) @@ -63,31 +63,31 @@ tmux_conf_theme_focused_pane_bg='brightcyan' # light blue tmux_conf_theme_pane_border_style=thin # pane borders colours: -tmux_conf_theme_pane_border='white' # gray -tmux_conf_theme_pane_active_border='brightblue' # light blue +tmux_conf_theme_pane_border='colour241' # gray +tmux_conf_theme_pane_active_border='colour12' # light blue # pane indicator colours -tmux_conf_theme_pane_indicator='brightblue' # light blue -tmux_conf_theme_pane_active_indicator='brightblue' # light blue +tmux_conf_theme_pane_indicator='colour12' # light blue +tmux_conf_theme_pane_active_indicator='colour12' # light blue # status line style -tmux_conf_theme_message_fg='black' # black -tmux_conf_theme_message_bg='yellow' # yellow +tmux_conf_theme_message_fg='colour16' # black +tmux_conf_theme_message_bg='colour11' # yellow tmux_conf_theme_message_attr='bold' # status line command style ( : Escape) -tmux_conf_theme_message_command_fg='yellow' # yellow -tmux_conf_theme_message_command_bg='black' # black +tmux_conf_theme_message_command_fg='colour11' # yellow +tmux_conf_theme_message_command_bg='colour16' # black tmux_conf_theme_message_command_attr='bold' # window modes style -tmux_conf_theme_mode_fg='black' # black -tmux_conf_theme_mode_bg='yellow' # yellow +tmux_conf_theme_mode_fg='colour16' # black +tmux_conf_theme_mode_bg='colour11' # yellow tmux_conf_theme_mode_attr='bold' # status line style -tmux_conf_theme_status_fg='white' # light gray -tmux_conf_theme_status_bg='brightblack' # dark gray +tmux_conf_theme_status_fg='colour248' # light gray +tmux_conf_theme_status_bg='colour234' # dark gray tmux_conf_theme_status_attr='none' # terminal title @@ -108,8 +108,8 @@ tmux_conf_theme_terminal_title='#h ❐ #S ● #I #W' # - #{hostname_ssh} # - #{username} # - #{username_ssh} -tmux_conf_theme_window_status_fg='white' # light gray -tmux_conf_theme_window_status_bg='brightblack' # dark gray +tmux_conf_theme_window_status_fg='colour248' # light gray +tmux_conf_theme_window_status_bg='colour234' # dark gray tmux_conf_theme_window_status_attr='none' tmux_conf_theme_window_status_format='#I #W' #tmux_conf_theme_window_status_format='#{circled_window_index} #W' @@ -123,8 +123,8 @@ tmux_conf_theme_window_status_format='#I #W' # - #{hostname_ssh} # - #{username} # - #{username_ssh} -tmux_conf_theme_window_status_current_fg='black' # black -tmux_conf_theme_window_status_current_bg='brightblue' # light blue +tmux_conf_theme_window_status_current_fg='colour16' # black +tmux_conf_theme_window_status_current_bg='colour12' # light blue tmux_conf_theme_window_status_current_attr='bold' tmux_conf_theme_window_status_current_format='#I #W' #tmux_conf_theme_window_status_current_format='#{circled_window_index} #W' @@ -136,12 +136,12 @@ tmux_conf_theme_window_status_activity_bg='default' tmux_conf_theme_window_status_activity_attr='underscore' # window bell status style -tmux_conf_theme_window_status_bell_fg='yellow' # yellow +tmux_conf_theme_window_status_bell_fg='colour11' # yellow tmux_conf_theme_window_status_bell_bg='default' tmux_conf_theme_window_status_bell_attr='blink,bold' # window last status style -tmux_conf_theme_window_status_last_fg='brightblue' # light blue +tmux_conf_theme_window_status_last_fg='colour12' # light blue tmux_conf_theme_window_status_last_bg='default' tmux_conf_theme_window_status_last_attr='none' @@ -182,13 +182,13 @@ tmux_conf_theme_status_left=' ❐ #S | ↑#{?uptime_d, #{uptime_d}d,}#{?uptime_h tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} ' # status left style -tmux_conf_theme_status_left_fg='black,brightwhite,brightwhite' # black, white , white -tmux_conf_theme_status_left_bg='yellow,brightred,brightblue' # yellow, pink, white blue +tmux_conf_theme_status_left_fg='colour16,colour15,colour15' # black, white , white +tmux_conf_theme_status_left_bg='colour11,colour199,colour12' # yellow, pink, white blue tmux_conf_theme_status_left_attr='bold,none,none' # status right style -tmux_conf_theme_status_right_fg='white,brightwhite,black' # light gray, white, black -tmux_conf_theme_status_right_bg='brightblack,red,brightwhite' # dark gray, red, white +tmux_conf_theme_status_right_fg='colour248,colour15,colour16' # light gray, white, black +tmux_conf_theme_status_right_bg='colour234,colour9,colour15' # dark gray, red, white tmux_conf_theme_status_right_attr='none,none,bold' # pairing indicator @@ -231,21 +231,21 @@ tmux_conf_battery_bar_length='auto' # - heat # - 'colour_full_fg,colour_empty_fg,colour_bg' tmux_conf_battery_bar_palette='gradient' -#tmux_conf_battery_bar_palette='red,brightwhite,black' # red, white, black +#tmux_conf_battery_bar_palette='colour9,colour15,colour16' # red, white, black # battery hbar palette, possible values are: # - gradient (default) # - heat # - 'colour_low,colour_half,colour_full' tmux_conf_battery_hbar_palette='gradient' -#tmux_conf_battery_hbar_palette='red,brightyellow,green' # red, orange, green +#tmux_conf_battery_hbar_palette='colour9,colour214,colour10' # red, orange, green # battery vbar palette, possible values are: # - gradient (default) # - heat # - 'colour_low,colour_half,colour_full' tmux_conf_battery_vbar_palette='gradient' -#tmux_conf_battery_vbar_palette='red,brightyellow,green' # red, orange, green +#tmux_conf_battery_vbar_palette='colour9,colour214,colour10' # red, orange, green # symbols used to indicate whether battery is charging or discharging tmux_conf_battery_status_charging='↑' # U+2191 @@ -256,7 +256,7 @@ tmux_conf_battery_status_discharging='↓' # U+2193 # clock style (when you hit + t) # you may want to use %I:%M %p in place of %R in tmux_conf_theme_status_right -tmux_conf_theme_clock_colour='brightblue' # light blue +tmux_conf_theme_clock_colour='colour12' # light blue tmux_conf_theme_clock_style='24' From 8705c7c838aa8ea3a6591327f3b6216d2544a70d Mon Sep 17 00:00:00 2001 From: Geo Angelopoulos Date: Fri, 21 Jun 2019 00:02:06 +0300 Subject: [PATCH 3/4] new colours to .conf file --- .tmux.conf | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index e69fab447..f5790f52d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -754,7 +754,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # tmux_conf_theme_window_bg=${tmux_conf_theme_window_bg:-default} # tmux_conf_theme_highlight_focused_pane=${tmux_conf_theme_highlight_focused_pane:-false} # tmux_conf_theme_focused_pane_fg=${tmux_conf_theme_focused_pane_fg:-'default'} # default -# tmux_conf_theme_focused_pane_bg=${tmux_conf_theme_focused_pane_bg:-'#0087d7'} # light blue +# tmux_conf_theme_focused_pane_bg=${tmux_conf_theme_focused_pane_bg:-'colour45'} # light blue # # # tmux 1.9 doesn't really like set -q # if tmux show -g -w | grep -q window-style; then @@ -768,8 +768,8 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # fi # # tmux_conf_theme_pane_border_style=${tmux_conf_theme_pane_border_style:-thin} -# tmux_conf_theme_pane_border=${tmux_conf_theme_pane_border:-'#444444'} # light gray -# tmux_conf_theme_pane_active_border=${tmux_conf_theme_pane_active_border:-'#00afff'} # light blue +# tmux_conf_theme_pane_border=${tmux_conf_theme_pane_border:-'colour241'} # light gray +# tmux_conf_theme_pane_active_border=${tmux_conf_theme_pane_active_border:-'colour12'} # light blue # tmux_conf_theme_pane_border_fg=${tmux_conf_theme_pane_border_fg:-$tmux_conf_theme_pane_border} # tmux_conf_theme_pane_active_border_fg=${tmux_conf_theme_pane_active_border_fg:-$tmux_conf_theme_pane_active_border} # case "$tmux_conf_theme_pane_border_style" in @@ -784,8 +784,8 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # esac # tmux setw -g pane-border-style "fg=$tmux_conf_theme_pane_border_fg,bg=$tmux_conf_theme_pane_border_bg" \; set -g pane-active-border-style "fg=$tmux_conf_theme_pane_active_border_fg,bg=$tmux_conf_theme_pane_active_border_bg" # -# tmux_conf_theme_pane_indicator=${tmux_conf_theme_pane_indicator:-'#00afff'} # light blue -# tmux_conf_theme_pane_active_indicator=${tmux_conf_theme_pane_active_indicator:-'#00afff'} # light blue +# tmux_conf_theme_pane_indicator=${tmux_conf_theme_pane_indicator:-'colour12'} # light blue +# tmux_conf_theme_pane_active_indicator=${tmux_conf_theme_pane_active_indicator:-'colour12'} # light blue # # tmux set -g display-panes-colour "$tmux_conf_theme_pane_indicator" \; set -g display-panes-active-colour "$tmux_conf_theme_pane_active_indicator" # @@ -796,23 +796,23 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # tmux_conf_theme_right_separator_main=${tmux_conf_theme_right_separator_main-''} # tmux_conf_theme_right_separator_sub=${tmux_conf_theme_right_separator_sub-'|'} # -# tmux_conf_theme_message_fg=${tmux_conf_theme_message_fg:-'#000000'} # black -# tmux_conf_theme_message_bg=${tmux_conf_theme_message_bg:-'#ffff00'} # yellow +# tmux_conf_theme_message_fg=${tmux_conf_theme_message_fg:-'colour16'} # black +# tmux_conf_theme_message_bg=${tmux_conf_theme_message_bg:-'colour11'} # yellow # tmux_conf_theme_message_attr=${tmux_conf_theme_message_attr:-'bold'} # tmux set -g message-style "fg=$tmux_conf_theme_message_fg,bg=$tmux_conf_theme_message_bg,$tmux_conf_theme_message_attr" # -# tmux_conf_theme_message_command_fg=${tmux_conf_theme_message_command_fg:-'#ffff00'} # yellow -# tmux_conf_theme_message_command_bg=${tmux_conf_theme_message_command_bg:-'#000000'} # black +# tmux_conf_theme_message_command_fg=${tmux_conf_theme_message_command_fg:-'collour11'} # yellow +# tmux_conf_theme_message_command_bg=${tmux_conf_theme_message_command_bg:-'colour16'} # black # tmux_conf_theme_message_command_attr=${tmux_conf_theme_message_command_attr:-'bold'} # tmux set -g message-command-style "fg=$tmux_conf_theme_message_command_fg,bg=$tmux_conf_theme_message_command_bg,$tmux_conf_theme_message_command_attr" # -# tmux_conf_theme_mode_fg=${tmux_conf_theme_mode_fg:-'#000000'} # black -# tmux_conf_theme_mode_bg=${tmux_conf_theme_mode_bg:-'#ffff00'} # yellow +# tmux_conf_theme_mode_fg=${tmux_conf_theme_mode_fg:-'colour16'} # black +# tmux_conf_theme_mode_bg=${tmux_conf_theme_mode_bg:-'colour11'} # yellow # tmux_conf_theme_mode_attr=${tmux_conf_theme_mode_attr:-'bold'} # tmux setw -g mode-style "fg=$tmux_conf_theme_mode_fg,bg=$tmux_conf_theme_mode_bg,$tmux_conf_theme_mode_attr" # -# tmux_conf_theme_status_fg=${tmux_conf_theme_status_fg:-'#8a8a8a'} # white -# tmux_conf_theme_status_bg=${tmux_conf_theme_status_bg:-'#080808'} # dark gray +# tmux_conf_theme_status_fg=${tmux_conf_theme_status_fg:-'colour248'} # white +# tmux_conf_theme_status_bg=${tmux_conf_theme_status_bg:-'colour234'} # dark gray # tmux_conf_theme_status_attr=${tmux_conf_theme_status_attr:-'none'} # tmux set -g status-style "fg=$tmux_conf_theme_status_fg,bg=$tmux_conf_theme_status_bg,$tmux_conf_theme_status_attr" \;\ # set -g status-left-style "fg=$tmux_conf_theme_status_fg,bg=$tmux_conf_theme_status_bg,$tmux_conf_theme_status_attr" \;\ @@ -829,13 +829,13 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # -e 's%#{hostname_ssh}%#(cut -c3- ~/.tmux.conf | sh -s _hostname #{pane_tty} true #D)%g') # tmux set -g set-titles-string "$tmux_conf_theme_terminal_title" # -# tmux_conf_theme_window_status_fg=${tmux_conf_theme_window_status_fg:-'#8a8a8a'} # white -# tmux_conf_theme_window_status_bg=${tmux_conf_theme_window_status_bg:-'#080808'} # dark gray +# tmux_conf_theme_window_status_fg=${tmux_conf_theme_window_status_fg:-'colour248'} # white +# tmux_conf_theme_window_status_bg=${tmux_conf_theme_window_status_bg:-'colour234'} # dark gray # tmux_conf_theme_window_status_attr=${tmux_conf_theme_window_status_attr:-'none'} # tmux_conf_theme_window_status_format=${tmux_conf_theme_window_status_format:-'#I #W'} # -# tmux_conf_theme_window_status_current_fg=${tmux_conf_theme_window_status_current_fg:-'#000000'} # black -# tmux_conf_theme_window_status_current_bg=${tmux_conf_theme_window_status_current_bg:-'#00afff'} # light blue +# tmux_conf_theme_window_status_current_fg=${tmux_conf_theme_window_status_current_fg:-'colour16'} # black +# tmux_conf_theme_window_status_current_bg=${tmux_conf_theme_window_status_current_bg:-'colour12'} # light blue # tmux_conf_theme_window_status_current_attr=${tmux_conf_theme_window_status_current_attr:-'bold'} # tmux_conf_theme_window_status_current_format=${tmux_conf_theme_window_status_current_format:-'#I #W'} # if [ x"$(tmux show -g -v status-justify)" = x"right" ]; then @@ -869,12 +869,12 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # tmux_conf_theme_window_status_activity_attr=${tmux_conf_theme_window_status_activity_attr:-'underscore'} # tmux setw -g window-status-activity-style "fg=$tmux_conf_theme_window_status_activity_fg,bg=$tmux_conf_theme_window_status_activity_bg,$tmux_conf_theme_window_status_activity_attr" # -# tmux_conf_theme_window_status_bell_fg=${tmux_conf_theme_window_status_bell_fg:-'#ffff00'} # yellow +# tmux_conf_theme_window_status_bell_fg=${tmux_conf_theme_window_status_bell_fg:-'colour11'} # yellow # tmux_conf_theme_window_status_bell_bg=${tmux_conf_theme_window_status_bell_bg:-'default'} # tmux_conf_theme_window_status_bell_attr=${tmux_conf_theme_window_status_bell_attr:-'blink,bold'} # tmux setw -g window-status-bell-style "fg=$tmux_conf_theme_window_status_bell_fg,bg=$tmux_conf_theme_window_status_bell_bg,$tmux_conf_theme_window_status_bell_attr" # -# tmux_conf_theme_window_status_last_fg=${tmux_conf_theme_window_status_last_fg:-'#00afff'} # light blue +# tmux_conf_theme_window_status_last_fg=${tmux_conf_theme_window_status_last_fg:-'colour12'} # light blue # tmux_conf_theme_window_status_last_bg=${tmux_conf_theme_window_status_last_bg:-'default'} # tmux_conf_theme_window_status_last_attr=${tmux_conf_theme_window_status_last_attr:-'none'} # tmux setw -g window-status-last-style "fg=$tmux_conf_theme_window_status_last_fg,bg=$tmux_conf_theme_window_status_last_bg,$tmux_conf_theme_window_status_last_attr" @@ -882,12 +882,12 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # -- indicators # # tmux_conf_theme_pairing=${tmux_conf_theme_pairing:-'👓'} # U+1F453 -# tmux_conf_theme_pairing_fg=${tmux_conf_theme_pairing_fg:-'#e4e4e4'} # white +# tmux_conf_theme_pairing_fg=${tmux_conf_theme_pairing_fg:-'colour15'} # white # tmux_conf_theme_pairing_bg=${tmux_conf_theme_pairing_bg:-'none'} # tmux_conf_theme_pairing_attr=${tmux_conf_theme_pairing_attr:-'none'} # # tmux_conf_theme_prefix=${tmux_conf_theme_prefix:-'⌨'} # U+2328 -# tmux_conf_theme_prefix_fg=${tmux_conf_theme_prefix_fg:-'#e4e4e4'} # white +# tmux_conf_theme_prefix_fg=${tmux_conf_theme_prefix_fg:-'colour15'} # white # tmux_conf_theme_prefix_bg=${tmux_conf_theme_prefix_bg:-'none'} # tmux_conf_theme_prefix_attr=${tmux_conf_theme_prefix_attr:-'none'} # @@ -904,8 +904,8 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # -- status left style # # tmux_conf_theme_status_left=${tmux_conf_theme_status_left-' ❐ #S '} -# tmux_conf_theme_status_left_fg=${tmux_conf_theme_status_left_fg:-'#000000,#e4e4e4,#e4e4e4'} # black, white , white -# tmux_conf_theme_status_left_bg=${tmux_conf_theme_status_left_bg:-'#ffff00,#ff00af,#00afff'} # yellow, pink, white blue +# tmux_conf_theme_status_left_fg=${tmux_conf_theme_status_left_fg:-'colour16,colour15,colour15'} # black, white , white +# tmux_conf_theme_status_left_bg=${tmux_conf_theme_status_left_bg:-'colour11,colour199,colour12'} # yellow, pink, white blue # tmux_conf_theme_status_left_attr=${tmux_conf_theme_status_left_attr:-'bold,none,none'} # # tmux_conf_theme_status_left=$(echo "$tmux_conf_theme_status_left" | sed \ @@ -991,8 +991,8 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # -- status right style # # tmux_conf_theme_status_right=${tmux_conf_theme_status_right-'#{pairing}#{prefix} #{battery_status} #{battery_bar} #{battery_percentage} , %R , %d %b | #{username} | #{hostname} '} -# tmux_conf_theme_status_right_fg=${tmux_conf_theme_status_right_fg:-'#8a8a8a,#e4e4e4,#000000'} # light gray, white, black -# tmux_conf_theme_status_right_bg=${tmux_conf_theme_status_right_bg:-'#080808,#d70000,#e4e4e4'} # dark gray, red, white +# tmux_conf_theme_status_right_fg=${tmux_conf_theme_status_right_fg:-'colour248,colour15,colour16'} # light gray, white, black +# tmux_conf_theme_status_right_bg=${tmux_conf_theme_status_right_bg:-'colour234,colour9,colour15'} # dark gray, red, white # tmux_conf_theme_status_right_attr=${tmux_conf_theme_status_right_attr:-'none,none,bold'} # # tmux_conf_theme_status_right=$(echo "$tmux_conf_theme_status_right" | sed \ @@ -1156,7 +1156,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # # -- clock ------------------------------------------------------------- # -# tmux_conf_theme_clock_colour=${tmux_conf_theme_clock_colour:-'#00afff'} # light blue +# tmux_conf_theme_clock_colour=${tmux_conf_theme_clock_colour:-'colour12'} # light blue # tmux_conf_theme_clock_style=${tmux_conf_theme_clock_style:-'24'} # tmux setw -g clock-mode-colour "$tmux_conf_theme_clock_colour" \;\ # setw -g clock-mode-style "$tmux_conf_theme_clock_style" From fc229903f2a90c5daab3269405fde0d3d20e17b3 Mon Sep 17 00:00:00 2001 From: Geo Angelopoulos Date: Fri, 21 Jun 2019 02:19:32 +0300 Subject: [PATCH 4/4] correct blacks not #000000 but the background colour --- .tmux.conf | 12 ++++++------ .tmux.conf.local | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index f5790f52d..6832bf752 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -796,17 +796,17 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # tmux_conf_theme_right_separator_main=${tmux_conf_theme_right_separator_main-''} # tmux_conf_theme_right_separator_sub=${tmux_conf_theme_right_separator_sub-'|'} # -# tmux_conf_theme_message_fg=${tmux_conf_theme_message_fg:-'colour16'} # black +# tmux_conf_theme_message_fg=${tmux_conf_theme_message_fg:-'colour0'} # black # tmux_conf_theme_message_bg=${tmux_conf_theme_message_bg:-'colour11'} # yellow # tmux_conf_theme_message_attr=${tmux_conf_theme_message_attr:-'bold'} # tmux set -g message-style "fg=$tmux_conf_theme_message_fg,bg=$tmux_conf_theme_message_bg,$tmux_conf_theme_message_attr" # # tmux_conf_theme_message_command_fg=${tmux_conf_theme_message_command_fg:-'collour11'} # yellow -# tmux_conf_theme_message_command_bg=${tmux_conf_theme_message_command_bg:-'colour16'} # black +# tmux_conf_theme_message_command_bg=${tmux_conf_theme_message_command_bg:-'colour0'} # black # tmux_conf_theme_message_command_attr=${tmux_conf_theme_message_command_attr:-'bold'} # tmux set -g message-command-style "fg=$tmux_conf_theme_message_command_fg,bg=$tmux_conf_theme_message_command_bg,$tmux_conf_theme_message_command_attr" # -# tmux_conf_theme_mode_fg=${tmux_conf_theme_mode_fg:-'colour16'} # black +# tmux_conf_theme_mode_fg=${tmux_conf_theme_mode_fg:-'colour0'} # black # tmux_conf_theme_mode_bg=${tmux_conf_theme_mode_bg:-'colour11'} # yellow # tmux_conf_theme_mode_attr=${tmux_conf_theme_mode_attr:-'bold'} # tmux setw -g mode-style "fg=$tmux_conf_theme_mode_fg,bg=$tmux_conf_theme_mode_bg,$tmux_conf_theme_mode_attr" @@ -834,7 +834,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # tmux_conf_theme_window_status_attr=${tmux_conf_theme_window_status_attr:-'none'} # tmux_conf_theme_window_status_format=${tmux_conf_theme_window_status_format:-'#I #W'} # -# tmux_conf_theme_window_status_current_fg=${tmux_conf_theme_window_status_current_fg:-'colour16'} # black +# tmux_conf_theme_window_status_current_fg=${tmux_conf_theme_window_status_current_fg:-'colour0'} # black # tmux_conf_theme_window_status_current_bg=${tmux_conf_theme_window_status_current_bg:-'colour12'} # light blue # tmux_conf_theme_window_status_current_attr=${tmux_conf_theme_window_status_current_attr:-'bold'} # tmux_conf_theme_window_status_current_format=${tmux_conf_theme_window_status_current_format:-'#I #W'} @@ -904,7 +904,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # -- status left style # # tmux_conf_theme_status_left=${tmux_conf_theme_status_left-' ❐ #S '} -# tmux_conf_theme_status_left_fg=${tmux_conf_theme_status_left_fg:-'colour16,colour15,colour15'} # black, white , white +# tmux_conf_theme_status_left_fg=${tmux_conf_theme_status_left_fg:-'colour0,colour15,colour15'} # black, white , white # tmux_conf_theme_status_left_bg=${tmux_conf_theme_status_left_bg:-'colour11,colour199,colour12'} # yellow, pink, white blue # tmux_conf_theme_status_left_attr=${tmux_conf_theme_status_left_attr:-'bold,none,none'} # @@ -991,7 +991,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # -- status right style # # tmux_conf_theme_status_right=${tmux_conf_theme_status_right-'#{pairing}#{prefix} #{battery_status} #{battery_bar} #{battery_percentage} , %R , %d %b | #{username} | #{hostname} '} -# tmux_conf_theme_status_right_fg=${tmux_conf_theme_status_right_fg:-'colour248,colour15,colour16'} # light gray, white, black +# tmux_conf_theme_status_right_fg=${tmux_conf_theme_status_right_fg:-'colour248,colour15,colour0'} # light gray, white, black # tmux_conf_theme_status_right_bg=${tmux_conf_theme_status_right_bg:-'colour234,colour9,colour15'} # dark gray, red, white # tmux_conf_theme_status_right_attr=${tmux_conf_theme_status_right_attr:-'none,none,bold'} # diff --git a/.tmux.conf.local b/.tmux.conf.local index 9b1e9f3b3..0c95e3034 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -71,17 +71,17 @@ tmux_conf_theme_pane_indicator='colour12' # light blue tmux_conf_theme_pane_active_indicator='colour12' # light blue # status line style -tmux_conf_theme_message_fg='colour16' # black +tmux_conf_theme_message_fg='colour0' # black tmux_conf_theme_message_bg='colour11' # yellow tmux_conf_theme_message_attr='bold' # status line command style ( : Escape) tmux_conf_theme_message_command_fg='colour11' # yellow -tmux_conf_theme_message_command_bg='colour16' # black +tmux_conf_theme_message_command_bg='colour0' # black tmux_conf_theme_message_command_attr='bold' # window modes style -tmux_conf_theme_mode_fg='colour16' # black +tmux_conf_theme_mode_fg='colour0' # black tmux_conf_theme_mode_bg='colour11' # yellow tmux_conf_theme_mode_attr='bold' @@ -123,7 +123,7 @@ tmux_conf_theme_window_status_format='#I #W' # - #{hostname_ssh} # - #{username} # - #{username_ssh} -tmux_conf_theme_window_status_current_fg='colour16' # black +tmux_conf_theme_window_status_current_fg='colour0' # black tmux_conf_theme_window_status_current_bg='colour12' # light blue tmux_conf_theme_window_status_current_attr='bold' tmux_conf_theme_window_status_current_format='#I #W' @@ -182,12 +182,12 @@ tmux_conf_theme_status_left=' ❐ #S | ↑#{?uptime_d, #{uptime_d}d,}#{?uptime_h tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} ' # status left style -tmux_conf_theme_status_left_fg='colour16,colour15,colour15' # black, white , white +tmux_conf_theme_status_left_fg='colour0,colour15,colour15' # black, white , white tmux_conf_theme_status_left_bg='colour11,colour199,colour12' # yellow, pink, white blue tmux_conf_theme_status_left_attr='bold,none,none' # status right style -tmux_conf_theme_status_right_fg='colour248,colour15,colour16' # light gray, white, black +tmux_conf_theme_status_right_fg='colour248,colour15,colour0' # light gray, white, black tmux_conf_theme_status_right_bg='colour234,colour9,colour15' # dark gray, red, white tmux_conf_theme_status_right_attr='none,none,bold' @@ -231,7 +231,7 @@ tmux_conf_battery_bar_length='auto' # - heat # - 'colour_full_fg,colour_empty_fg,colour_bg' tmux_conf_battery_bar_palette='gradient' -#tmux_conf_battery_bar_palette='colour9,colour15,colour16' # red, white, black +#tmux_conf_battery_bar_palette='colour9,colour15,colour0' # red, white, black # battery hbar palette, possible values are: # - gradient (default)