Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color aliases #255

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
#
Expand All @@ -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:-'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:-'#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:-'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:-'#000000'} # black
# tmux_conf_theme_mode_bg=${tmux_conf_theme_mode_bg:-'#ffff00'} # yellow
# 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"
#
# 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" \;\
Expand All @@ -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:-'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'}
# if [ x"$(tmux show -g -v status-justify)" = x"right" ]; then
Expand Down Expand Up @@ -869,25 +869,25 @@ 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"
#
# # -- 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'}
#
Expand All @@ -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:-'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'}
#
# tmux_conf_theme_status_left=$(echo "$tmux_conf_theme_status_left" | sed \
Expand Down Expand Up @@ -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,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'}
#
# tmux_conf_theme_status_right=$(echo "$tmux_conf_theme_status_right" | sed \
Expand Down Expand Up @@ -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"
Expand Down
54 changes: 27 additions & 27 deletions .tmux.conf.local
Original file line number Diff line number Diff line change
Expand Up @@ -55,39 +55,39 @@ 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='colour45' # light blue

# pane border style, possible values are:
# - thin (default)
# - fat
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='colour241' # gray
tmux_conf_theme_pane_active_border='colour12' # 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='colour12' # light blue
tmux_conf_theme_pane_active_indicator='colour12' # light blue

# status line style
tmux_conf_theme_message_fg='#000000' # black
tmux_conf_theme_message_bg='#ffff00' # yellow
tmux_conf_theme_message_fg='colour0' # black
tmux_conf_theme_message_bg='colour11' # yellow
tmux_conf_theme_message_attr='bold'

# status line command style (<prefix> : Escape)
tmux_conf_theme_message_command_fg='#ffff00' # yellow
tmux_conf_theme_message_command_bg='#000000' # black
tmux_conf_theme_message_command_fg='colour11' # yellow
tmux_conf_theme_message_command_bg='colour0' # 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='colour0' # black
tmux_conf_theme_mode_bg='colour11' # 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='colour248' # light gray
tmux_conf_theme_status_bg='colour234' # dark gray
tmux_conf_theme_status_attr='none'

# terminal title
Expand All @@ -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='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'
Expand All @@ -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='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'
#tmux_conf_theme_window_status_current_format='#{circled_window_index} #W'
Expand All @@ -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='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='#00afff' # 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'

Expand Down Expand Up @@ -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='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='#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='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'

# pairing indicator
Expand Down Expand Up @@ -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='colour9,colour15,colour0' # 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='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='#d70000,#ff5f00,#5fff00' # 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
Expand All @@ -256,7 +256,7 @@ tmux_conf_battery_status_discharging='↓' # U+2193

# clock style (when you hit <prefix> + 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='colour12' # light blue
tmux_conf_theme_clock_style='24'


Expand Down