External configuration and themes
The script no longer contains theme definitions, and the default configuration has been made much simpler. Existing themes have been moved to a bunch of files (one file per theme) in a subdirectory.
This commit is contained in:
parent
8652ef6f68
commit
a021c87a65
8 changed files with 1061 additions and 313 deletions
131
themes/ascii_gyr.pm
Normal file
131
themes/ascii_gyr.pm
Normal file
|
@ -0,0 +1,131 @@
|
|||
# ascii_gyr
|
||||
{
|
||||
# Padding character
|
||||
'padding' => '-',
|
||||
|
||||
# Extra colors for transition strings
|
||||
'transition' => [ 0 , 230 ] ,
|
||||
# Default background/foreground colors
|
||||
'bg' => 0,
|
||||
'fg' => 7,
|
||||
# Color gradient used in various parts
|
||||
fg0 => 2 , bg0 => -1 ,
|
||||
fg1 => 10 , bg1 => -1 ,
|
||||
fg2 => 11 , bg2 => -1 ,
|
||||
fg3 => 9 , bg3 => -1 ,
|
||||
|
||||
# Left side of top line
|
||||
'bg_left' => thref 'bg',
|
||||
'fg_left' => thref 'fg',
|
||||
'left_prefix' => '\b2\f3[' ,
|
||||
'left_separator' => '\b2\f3][' ,
|
||||
'left_suffix' => '\b2\f3]' ,
|
||||
# Middle of top line
|
||||
'bg_middle' => thref 'bg',
|
||||
'fg_middle' => 230,
|
||||
'middle_prefix' => ' ',
|
||||
'middle_separator' => ' | ',
|
||||
'middle_suffix' => ' ',
|
||||
# Right side of top line
|
||||
'bg_right' => thref 'bg',
|
||||
'fg_right' => thref 'fg',
|
||||
'right_prefix' => '\b2\f3(' ,
|
||||
'right_separator' => '\b2\f3|' ,
|
||||
'right_suffix' => '\b2\f3)' ,
|
||||
# Input line
|
||||
'bg_input' => thref 'bg',
|
||||
'fg_input' => thref 'fg',
|
||||
'input_prefix' => '\b2\f3[' ,
|
||||
'input_separator' => '\b2\f3][' ,
|
||||
'input_suffix' => '\b2\f3]> ' ,
|
||||
# Secondary prompt
|
||||
'bg_ps2' => thref 'bg',
|
||||
ps2_suffix => '\b2\f3| ' ,
|
||||
|
||||
# Current working directory - Truncation string
|
||||
cwd_trunc => '...' ,
|
||||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => -1 ,
|
||||
'cwd_bg_color' => -1 ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => '(r)',
|
||||
# User@host - User - Foreground and background colors
|
||||
'uh_user_fg' => thref 'fg0' ,
|
||||
'uh_user_bg' => thref 'bg0' ,
|
||||
# User@host - Root - Foreground and background colors
|
||||
'uh_root_fg' => thref 'fg3' ,
|
||||
'uh_root_bg' => thref 'bg3' ,
|
||||
|
||||
# Date/time - Colors
|
||||
'dt_time_fg' => -1 ,
|
||||
'dt_date_fg' => -1 ,
|
||||
'dt_bg' => -1 ,
|
||||
|
||||
# Previous command state - Symbols
|
||||
'pcmd_ok_sym' => ':-)',
|
||||
'pcmd_err_sym' => ':-(',
|
||||
# Previous command state - OK text / background color
|
||||
'pcmd_ok_fg' => thref 'fg0',
|
||||
'pcmd_ok_bg' => -1 ,
|
||||
# Previous command state - Error text / background color
|
||||
'pcmd_err_fg' => thref 'fg3',
|
||||
'pcmd_err_bg' => -1 ,
|
||||
# Previous command state - Other text foreground
|
||||
'pcmd_text_fg' => -1 ,
|
||||
|
||||
# Load average - Symbol or text
|
||||
'load_title' => 'ld',
|
||||
# Load average - Low load colors
|
||||
'load_low_fg' => -1,
|
||||
'load_low_bg' => -1,
|
||||
# Load average - Medium load colors
|
||||
'load_med_fg' => thref 'fg2',
|
||||
'load_med_bg' => thref 'bg2',
|
||||
# Load average - High load colors
|
||||
'load_high_fg' => thref 'fg3' ,
|
||||
'load_high_bg' => thref 'bg3' ,
|
||||
|
||||
# Git - Branch symbol
|
||||
'git_branch_symbol' => 'B ',
|
||||
# Git - Branch colors - No warning
|
||||
'git_branch_ok_bg' => thref 'bg0' ,
|
||||
'git_branch_ok_fg' => thref 'fg0' ,
|
||||
# Git - Branch colors - Weak warning
|
||||
'git_branch_warn_bg' => thref 'bg2' ,
|
||||
'git_branch_warn_fg' => thref 'fg2' ,
|
||||
# Git - Branch colors - Strong warning
|
||||
'git_branch_danger_bg' => thref 'bg3' ,
|
||||
'git_branch_danger_fg' => thref 'fg3' ,
|
||||
# Git - Repo state colors
|
||||
'git_repstate_bg' => thref 'bg1' ,
|
||||
'git_repstate_fg' => thref 'fg1' ,
|
||||
# Git - Padding character for status sections
|
||||
'git_status_pad' => '' ,
|
||||
# Git - Untracked symbol and colors
|
||||
'git_untracked_symbol' => 'U ',
|
||||
'git_untracked_bg' => thref 'bg3' ,
|
||||
'git_untracked_normal_fg' => thref 'fg3' ,
|
||||
'git_untracked_add_fg' => thref 'fg3' ,
|
||||
'git_untracked_mod_fg' => thref 'fg3' ,
|
||||
'git_untracked_del_fg' => thref 'fg3' ,
|
||||
# Git - Indexed symbol and colors
|
||||
'git_indexed_symbol' => 'I ',
|
||||
'git_indexed_bg' => thref 'bg2' ,
|
||||
'git_indexed_normal_fg' => thref 'fg2' ,
|
||||
'git_indexed_add_fg' => thref 'fg2' ,
|
||||
'git_indexed_mod_fg' => thref 'fg2' ,
|
||||
'git_indexed_del_fg' => thref 'fg2' ,
|
||||
# Git - Add/modify/delete symbols
|
||||
'git_add_symbol' => '+' ,
|
||||
'git_mod_symbol' => '~',
|
||||
'git_del_symbol' => '-',
|
||||
# Git stash symbol and color
|
||||
'git_stash_symbol' => 'S ',
|
||||
'git_stash_bg' => thref 'bg1' ,
|
||||
'git_stash_fg' => thref 'fg1' ,
|
||||
|
||||
# Python virtual environment section colors
|
||||
'pyenv_fg' => -1,
|
||||
'pyenv_bg' => -1,
|
||||
}
|
131
themes/ascii_yb.pm
Normal file
131
themes/ascii_yb.pm
Normal file
|
@ -0,0 +1,131 @@
|
|||
# ascii_yb
|
||||
{
|
||||
# Padding character
|
||||
'padding' => '-',
|
||||
|
||||
# Extra colors for transition strings
|
||||
'transition' => [ 0 , 189 ] ,
|
||||
# Default background/foreground colors
|
||||
'bg' => 0,
|
||||
'fg' => 7,
|
||||
# Color gradient used in various parts
|
||||
fg0 => 69 , bg0 => -1 ,
|
||||
fg1 => 117 , bg1 => -1 ,
|
||||
fg2 => 178 , bg2 => -1 ,
|
||||
fg3 => 226 , bg3 => -1 ,
|
||||
|
||||
# Left side of top line
|
||||
'bg_left' => thref 'bg',
|
||||
'fg_left' => thref 'fg',
|
||||
'left_prefix' => '\b2\f3[' ,
|
||||
'left_separator' => '\b2\f3][' ,
|
||||
'left_suffix' => '\b2\f3]' ,
|
||||
# Middle of top line
|
||||
'bg_middle' => thref 'bg',
|
||||
'fg_middle' => 189,
|
||||
'middle_prefix' => ' ',
|
||||
'middle_separator' => ' | ',
|
||||
'middle_suffix' => ' ',
|
||||
# Right side of top line
|
||||
'bg_right' => thref 'bg',
|
||||
'fg_right' => thref 'fg',
|
||||
'right_prefix' => '\b2\f3(' ,
|
||||
'right_separator' => '\b2\f3|' ,
|
||||
'right_suffix' => '\b2\f3)' ,
|
||||
# Input line
|
||||
'bg_input' => thref 'bg',
|
||||
'fg_input' => thref 'fg',
|
||||
'input_prefix' => '\b2\f3[' ,
|
||||
'input_separator' => '\b2\f3][' ,
|
||||
'input_suffix' => '\b2\f3]> ' ,
|
||||
# Secondary prompt
|
||||
'bg_ps2' => thref 'bg',
|
||||
ps2_suffix => '\b2\f3| ' ,
|
||||
|
||||
# Current working directory - Truncation string
|
||||
cwd_trunc => '...' ,
|
||||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => -1 ,
|
||||
'cwd_bg_color' => -1 ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => '(r)',
|
||||
# User@host - User - Foreground and background colors
|
||||
'uh_user_fg' => thref 'fg0' ,
|
||||
'uh_user_bg' => thref 'bg0' ,
|
||||
# User@host - Root - Foreground and background colors
|
||||
'uh_root_fg' => thref 'fg3' ,
|
||||
'uh_root_bg' => thref 'bg3' ,
|
||||
|
||||
# Date/time - Colors
|
||||
'dt_time_fg' => -1 ,
|
||||
'dt_date_fg' => -1 ,
|
||||
'dt_bg' => -1 ,
|
||||
|
||||
# Previous command state - Symbols
|
||||
'pcmd_ok_sym' => ':-)',
|
||||
'pcmd_err_sym' => ':-(',
|
||||
# Previous command state - OK text / background color
|
||||
'pcmd_ok_fg' => thref 'fg0',
|
||||
'pcmd_ok_bg' => -1 ,
|
||||
# Previous command state - Error text / background color
|
||||
'pcmd_err_fg' => thref 'fg3',
|
||||
'pcmd_err_bg' => -1 ,
|
||||
# Previous command state - Other text foreground
|
||||
'pcmd_text_fg' => -1 ,
|
||||
|
||||
# Load average - Symbol or text
|
||||
'load_title' => 'ld',
|
||||
# Load average - Low load colors
|
||||
'load_low_fg' => -1,
|
||||
'load_low_bg' => -1,
|
||||
# Load average - Medium load colors
|
||||
'load_med_fg' => thref 'fg2',
|
||||
'load_med_bg' => thref 'bg2',
|
||||
# Load average - High load colors
|
||||
'load_high_fg' => thref 'fg3' ,
|
||||
'load_high_bg' => thref 'bg3' ,
|
||||
|
||||
# Git - Branch symbol
|
||||
'git_branch_symbol' => 'B ',
|
||||
# Git - Branch colors - No warning
|
||||
'git_branch_ok_bg' => thref 'bg0' ,
|
||||
'git_branch_ok_fg' => thref 'fg0' ,
|
||||
# Git - Branch colors - Weak warning
|
||||
'git_branch_warn_bg' => thref 'bg2' ,
|
||||
'git_branch_warn_fg' => thref 'fg2' ,
|
||||
# Git - Branch colors - Strong warning
|
||||
'git_branch_danger_bg' => thref 'bg3' ,
|
||||
'git_branch_danger_fg' => thref 'fg3' ,
|
||||
# Git - Repo state colors
|
||||
'git_repstate_bg' => thref 'bg1' ,
|
||||
'git_repstate_fg' => thref 'fg1' ,
|
||||
# Git - Padding character for status sections
|
||||
'git_status_pad' => '' ,
|
||||
# Git - Untracked symbol and colors
|
||||
'git_untracked_symbol' => 'U ',
|
||||
'git_untracked_bg' => thref 'bg3' ,
|
||||
'git_untracked_normal_fg' => thref 'fg3' ,
|
||||
'git_untracked_add_fg' => thref 'fg3' ,
|
||||
'git_untracked_mod_fg' => thref 'fg3' ,
|
||||
'git_untracked_del_fg' => thref 'fg3' ,
|
||||
# Git - Indexed symbol and colors
|
||||
'git_indexed_symbol' => 'I ',
|
||||
'git_indexed_bg' => thref 'bg2' ,
|
||||
'git_indexed_normal_fg' => thref 'fg2' ,
|
||||
'git_indexed_add_fg' => thref 'fg2' ,
|
||||
'git_indexed_mod_fg' => thref 'fg2' ,
|
||||
'git_indexed_del_fg' => thref 'fg2' ,
|
||||
# Git - Add/modify/delete symbols
|
||||
'git_add_symbol' => '+' ,
|
||||
'git_mod_symbol' => '~',
|
||||
'git_del_symbol' => '-',
|
||||
# Git stash symbol and color
|
||||
'git_stash_symbol' => 'S ',
|
||||
'git_stash_bg' => thref 'bg1' ,
|
||||
'git_stash_fg' => thref 'fg1' ,
|
||||
|
||||
# Python virtual environment section colors
|
||||
'pyenv_fg' => -1,
|
||||
'pyenv_bg' => -1,
|
||||
}
|
131
themes/blocks_gyr.pm
Normal file
131
themes/blocks_gyr.pm
Normal file
|
@ -0,0 +1,131 @@
|
|||
# blocks_gyr
|
||||
{
|
||||
# Padding character
|
||||
'padding' => "\x{2500}",
|
||||
|
||||
# Extra colors for transition strings
|
||||
'transition' => [ 0 , 230 ] ,
|
||||
# Default background/foreground colors
|
||||
'bg' => 0,
|
||||
'fg' => 7,
|
||||
# Color gradient used in various parts
|
||||
fg0 => 2 , bg0 => -1 ,
|
||||
fg1 => 10 , bg1 => -1 ,
|
||||
fg2 => 11 , bg2 => -1 ,
|
||||
fg3 => 9 , bg3 => -1 ,
|
||||
|
||||
# Left side of top line
|
||||
'bg_left' => thref 'bg',
|
||||
'fg_left' => thref 'fg',
|
||||
'left_prefix' => "\\b2\\f3\x{256d}\x{2504} ",
|
||||
'left_separator' => "\\b2\\f3 \x{2508} ",
|
||||
'left_suffix' => "\\b2\\f3 \x{2504}\x{2562}",
|
||||
# Middle of top line
|
||||
'bg_middle' => thref 'bg',
|
||||
'fg_middle' => 230,
|
||||
'middle_prefix' => ' ',
|
||||
'middle_separator' => ' | ',
|
||||
'middle_suffix' => ' ',
|
||||
# Right side of top line
|
||||
'bg_right' => thref 'bg',
|
||||
'fg_right' => thref 'fg',
|
||||
'right_prefix' => "\\b2\\f3\x{256b}\x{2504} ",
|
||||
'right_separator' => "\\b2\\f3 \x{2508} ",
|
||||
'right_suffix' => "\\b2\\f3 \x{2504}(",
|
||||
# Input line
|
||||
'bg_input' => thref 'bg',
|
||||
'fg_input' => thref 'fg',
|
||||
'input_prefix' => "\\b2\\f3\x{2570}\x{2504}",
|
||||
'input_separator' => "\\b2\\f3\x{2508}",
|
||||
'input_suffix' => "\\b2\\f3\x{2500}> ",
|
||||
# Secondary prompt
|
||||
'bg_ps2' => thref 'bg',
|
||||
'ps2_suffix' => "\\b2\\f3\x{250a} ",
|
||||
|
||||
# Current working directory - Truncation string
|
||||
'cwd_trunc' => "\x{2026}",
|
||||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => -1 ,
|
||||
'cwd_bg_color' => -1 ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
# User@host - User - Foreground and background colors
|
||||
'uh_user_fg' => thref 'fg0' ,
|
||||
'uh_user_bg' => thref 'bg0' ,
|
||||
# User@host - Root - Foreground and background colors
|
||||
'uh_root_fg' => thref 'fg3' ,
|
||||
'uh_root_bg' => thref 'bg3' ,
|
||||
|
||||
# Date/time - Colors
|
||||
'dt_time_fg' => -1 ,
|
||||
'dt_date_fg' => -1 ,
|
||||
'dt_bg' => -1 ,
|
||||
|
||||
# Previous command state - Symbols
|
||||
'pcmd_ok_sym' => "\x{2713}",
|
||||
'pcmd_err_sym' => "\x{2717}",
|
||||
# Previous command state - OK text / background color
|
||||
'pcmd_ok_fg' => thref 'fg0',
|
||||
'pcmd_ok_bg' => -1 ,
|
||||
# Previous command state - Error text / background color
|
||||
'pcmd_err_fg' => thref 'fg3',
|
||||
'pcmd_err_bg' => -1 ,
|
||||
# Previous command state - Other text foreground
|
||||
'pcmd_text_fg' => -1 ,
|
||||
|
||||
# Load average - Symbol or text
|
||||
'load_title' => "\x{219f}",
|
||||
# Load average - Low load colors
|
||||
'load_low_fg' => -1,
|
||||
'load_low_bg' => -1,
|
||||
# Load average - Medium load colors
|
||||
'load_med_fg' => thref 'fg2',
|
||||
'load_med_bg' => thref 'bg2',
|
||||
# Load average - High load colors
|
||||
'load_high_fg' => thref 'fg3' ,
|
||||
'load_high_bg' => thref 'bg3' ,
|
||||
|
||||
# Git - Branch symbol
|
||||
'git_branch_symbol' => "\x{255f}\x{256f}",
|
||||
# Git - Branch colors - No warning
|
||||
'git_branch_ok_bg' => thref 'bg0' ,
|
||||
'git_branch_ok_fg' => thref 'fg0' ,
|
||||
# Git - Branch colors - Weak warning
|
||||
'git_branch_warn_bg' => thref 'bg2' ,
|
||||
'git_branch_warn_fg' => thref 'fg2' ,
|
||||
# Git - Branch colors - Strong warning
|
||||
'git_branch_danger_bg' => thref 'bg3' ,
|
||||
'git_branch_danger_fg' => thref 'fg3' ,
|
||||
# Git - Repo state colors
|
||||
'git_repstate_bg' => thref 'bg1' ,
|
||||
'git_repstate_fg' => thref 'fg1' ,
|
||||
# Git - Padding character for status sections
|
||||
'git_status_pad' => '' ,
|
||||
# Git - Untracked symbol and colors
|
||||
'git_untracked_symbol' => "\x{2744}",
|
||||
'git_untracked_bg' => thref 'bg3' ,
|
||||
'git_untracked_normal_fg' => thref 'fg3' ,
|
||||
'git_untracked_add_fg' => thref 'fg3' ,
|
||||
'git_untracked_mod_fg' => thref 'fg3' ,
|
||||
'git_untracked_del_fg' => thref 'fg3' ,
|
||||
# Git - Indexed symbol and colors
|
||||
'git_indexed_symbol' => "\x{2630}",
|
||||
'git_indexed_bg' => thref 'bg2' ,
|
||||
'git_indexed_normal_fg' => thref 'fg2' ,
|
||||
'git_indexed_add_fg' => thref 'fg2' ,
|
||||
'git_indexed_mod_fg' => thref 'fg2' ,
|
||||
'git_indexed_del_fg' => thref 'fg2' ,
|
||||
# Git - Add/modify/delete symbols
|
||||
'git_add_symbol' => '+' ,
|
||||
'git_mod_symbol' => "\x{b1}",
|
||||
'git_del_symbol' => "\x{2205}",
|
||||
# Git stash symbol and color
|
||||
'git_stash_symbol' => "\x{2021}",
|
||||
'git_stash_bg' => thref 'bg1' ,
|
||||
'git_stash_fg' => thref 'fg1' ,
|
||||
|
||||
# Python virtual environment section colors
|
||||
'pyenv_fg' => -1,
|
||||
'pyenv_bg' => -1,
|
||||
}
|
131
themes/blocks_yb.pm
Normal file
131
themes/blocks_yb.pm
Normal file
|
@ -0,0 +1,131 @@
|
|||
# blocks_yb
|
||||
{
|
||||
# Padding character
|
||||
'padding' => "\x{2500}",
|
||||
|
||||
# Extra colors for transition strings
|
||||
'transition' => [ 0, 189 ],
|
||||
# Default background/foreground colors
|
||||
'bg' => 0,
|
||||
'fg' => 7,
|
||||
# Color gradient used in various parts
|
||||
fg0 => 69, bg0 => -1,
|
||||
fg1 => 117, bg1 => -1,
|
||||
fg2 => 178, bg2 => -1,
|
||||
fg3 => 226, bg3 => -1,
|
||||
|
||||
# Left side of top line
|
||||
'bg_left' => thref 'bg',
|
||||
'fg_left' => thref 'fg',
|
||||
'left_prefix' => "\\b2\\f3\x{256d}\x{2504} ",
|
||||
'left_separator' => "\\b2\\f3 \x{2508} ",
|
||||
'left_suffix' => "\\b2\\f3 \x{2504}\x{2562}",
|
||||
# Middle of top line
|
||||
'bg_middle' => thref 'bg',
|
||||
'fg_middle' => 189,
|
||||
'middle_prefix' => ' ',
|
||||
'middle_separator' => ' | ',
|
||||
'middle_suffix' => ' ',
|
||||
# Right side of top line
|
||||
'bg_right' => thref 'bg',
|
||||
'fg_right' => thref 'fg',
|
||||
'right_prefix' => "\\b2\\f3\x{256b}\x{2504} ",
|
||||
'right_separator' => "\\b2\\f3 \x{2508} ",
|
||||
'right_suffix' => "\\b2\\f3 \x{2504}(",
|
||||
# Input line
|
||||
'bg_input' => thref 'bg',
|
||||
'fg_input' => thref 'fg',
|
||||
'input_prefix' => "\\b2\\f3\x{2570}\x{2504}",
|
||||
'input_separator' => "\\b2\\f3\x{2508}",
|
||||
'input_suffix' => "\\b2\\f3\x{2500}> ",
|
||||
# Secondary prompt
|
||||
'bg_ps2' => thref 'bg',
|
||||
'ps2_suffix' => "\\b2\\f3\x{250a} ",
|
||||
|
||||
# Current working directory - Truncation string
|
||||
'cwd_trunc' => "\x{2026}",
|
||||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => -1 ,
|
||||
'cwd_bg_color' => -1 ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
# User@host - User - Foreground and background colors
|
||||
'uh_user_fg' => thref 'fg0' ,
|
||||
'uh_user_bg' => thref 'bg0' ,
|
||||
# User@host - Root - Foreground and background colors
|
||||
'uh_root_fg' => thref 'fg3' ,
|
||||
'uh_root_bg' => thref 'bg3' ,
|
||||
|
||||
# Date/time - Colors
|
||||
'dt_time_fg' => -1 ,
|
||||
'dt_date_fg' => -1 ,
|
||||
'dt_bg' => -1 ,
|
||||
|
||||
# Previous command state - Symbols
|
||||
'pcmd_ok_sym' => "\x{2713}",
|
||||
'pcmd_err_sym' => "\x{2717}",
|
||||
# Previous command state - OK text / background color
|
||||
'pcmd_ok_fg' => thref 'fg0',
|
||||
'pcmd_ok_bg' => -1 ,
|
||||
# Previous command state - Error text / background color
|
||||
'pcmd_err_fg' => thref 'fg3',
|
||||
'pcmd_err_bg' => -1 ,
|
||||
# Previous command state - Other text foreground
|
||||
'pcmd_text_fg' => -1 ,
|
||||
|
||||
# Load average - Symbol or text
|
||||
'load_title' => "\x{219f}",
|
||||
# Load average - Low load colors
|
||||
'load_low_fg' => -1,
|
||||
'load_low_bg' => -1,
|
||||
# Load average - Medium load colors
|
||||
'load_med_fg' => thref 'fg2',
|
||||
'load_med_bg' => thref 'bg2',
|
||||
# Load average - High load colors
|
||||
'load_high_fg' => thref 'fg3' ,
|
||||
'load_high_bg' => thref 'bg3' ,
|
||||
|
||||
# Git - Branch symbol
|
||||
'git_branch_symbol' => "\x{255f}\x{256f}",
|
||||
# Git - Branch colors - No warning
|
||||
'git_branch_ok_bg' => thref 'bg0' ,
|
||||
'git_branch_ok_fg' => thref 'fg0' ,
|
||||
# Git - Branch colors - Weak warning
|
||||
'git_branch_warn_bg' => thref 'bg2' ,
|
||||
'git_branch_warn_fg' => thref 'fg2' ,
|
||||
# Git - Branch colors - Strong warning
|
||||
'git_branch_danger_bg' => thref 'bg3' ,
|
||||
'git_branch_danger_fg' => thref 'fg3' ,
|
||||
# Git - Repo state colors
|
||||
'git_repstate_bg' => thref 'bg1' ,
|
||||
'git_repstate_fg' => thref 'fg1' ,
|
||||
# Git - Padding character for status sections
|
||||
'git_status_pad' => '' ,
|
||||
# Git - Untracked symbol and colors
|
||||
'git_untracked_symbol' => "\x{2744}",
|
||||
'git_untracked_bg' => thref 'bg3' ,
|
||||
'git_untracked_normal_fg' => thref 'fg3' ,
|
||||
'git_untracked_add_fg' => thref 'fg3' ,
|
||||
'git_untracked_mod_fg' => thref 'fg3' ,
|
||||
'git_untracked_del_fg' => thref 'fg3' ,
|
||||
# Git - Indexed symbol and colors
|
||||
'git_indexed_symbol' => "\x{2630}",
|
||||
'git_indexed_bg' => thref 'bg2' ,
|
||||
'git_indexed_normal_fg' => thref 'fg2' ,
|
||||
'git_indexed_add_fg' => thref 'fg2' ,
|
||||
'git_indexed_mod_fg' => thref 'fg2' ,
|
||||
'git_indexed_del_fg' => thref 'fg2' ,
|
||||
# Git - Add/modify/delete symbols
|
||||
'git_add_symbol' => '+' ,
|
||||
'git_mod_symbol' => "\x{b1}",
|
||||
'git_del_symbol' => "\x{2205}",
|
||||
# Git stash symbol and color
|
||||
'git_stash_symbol' => "\x{2021}",
|
||||
'git_stash_bg' => thref 'bg1' ,
|
||||
'git_stash_fg' => thref 'fg1' ,
|
||||
|
||||
# Python virtual environment section colors
|
||||
'pyenv_fg' => -1,
|
||||
'pyenv_bg' => -1,
|
||||
}
|
130
themes/powerline_gyr.pm
Normal file
130
themes/powerline_gyr.pm
Normal file
|
@ -0,0 +1,130 @@
|
|||
# powerline_gyr
|
||||
{
|
||||
# Padding character
|
||||
'padding' => ' ',
|
||||
|
||||
# Extra colors for transition strings
|
||||
'transition' => [ 233 ] ,
|
||||
# Default foreground color
|
||||
'fg' => 15,
|
||||
# Color gradient used in various parts
|
||||
fg0 => 0 , bg0 => 2 ,
|
||||
fg1 => 0 , bg1 => 10 ,
|
||||
fg2 => 0 , bg2 => 11 ,
|
||||
fg3 => 11, bg3 => 1 ,
|
||||
|
||||
# Left side of top line
|
||||
'bg_left' => 239,
|
||||
'fg_left' => thref 'fg',
|
||||
'left_prefix' => '\b1 ' ,
|
||||
'left_separator' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}" ,
|
||||
'left_suffix' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}".' ' ,
|
||||
# Middle of top line
|
||||
'bg_middle' => 235,
|
||||
'fg_middle' => thref 'fg',
|
||||
'middle_prefix' => '',
|
||||
'middle_separator' => ' | ',
|
||||
'middle_suffix' => '',
|
||||
# Right side of top line
|
||||
'bg_right' => 239,
|
||||
'fg_right' => thref 'fg',
|
||||
'right_prefix' => '\f2\b0'."\x{e0b2}".'\f1\b2'."\x{e0b2}".'\b1' ,
|
||||
'right_separator' => '\f2\b0'."\x{e0b2}".'\f1\b2'."\x{e0b2}" ,
|
||||
'right_suffix' => '\b0 ' ,
|
||||
# Input line
|
||||
'bg_input' => 238,
|
||||
'fg_input' => thref 'fg',
|
||||
'input_prefix' => '\b1 ' ,
|
||||
'input_separator' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}" ,
|
||||
'input_suffix' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}".' ' ,
|
||||
# Secondary prompt
|
||||
'bg_ps2' => 234,
|
||||
'ps2_suffix' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}".' ' ,
|
||||
|
||||
# Current working directory - Truncation string
|
||||
'cwd_trunc' => "\x{2026}",
|
||||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => -1 ,
|
||||
'cwd_bg_color' => -1 ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
# User@host - User - Foreground and background colors
|
||||
'uh_user_fg' => thref 'fg0' ,
|
||||
'uh_user_bg' => thref 'bg0' ,
|
||||
# User@host - Root - Foreground and background colors
|
||||
'uh_root_fg' => thref 'fg3' ,
|
||||
'uh_root_bg' => thref 'bg3' ,
|
||||
|
||||
# Date/time - Colors
|
||||
'dt_time_fg' => -1 ,
|
||||
'dt_date_fg' => -1 ,
|
||||
'dt_bg' => -1 ,
|
||||
|
||||
# Previous command state - Symbols
|
||||
'pcmd_ok_sym' => "\x{2713}",
|
||||
'pcmd_err_sym' => "\x{2717}",
|
||||
# Previous command state - OK text / background color
|
||||
'pcmd_ok_fg' => 10 ,
|
||||
'pcmd_ok_bg' => -1 ,
|
||||
# Previous command state - Error text / background color
|
||||
'pcmd_err_fg' => 11 ,
|
||||
'pcmd_err_bg' => 1 ,
|
||||
# Previous command state - Other text foreground
|
||||
'pcmd_text_fg' => -1 ,
|
||||
|
||||
# Load average - Symbol or text
|
||||
'load_title' => "\x{219f}",
|
||||
# Load average - Low load colors
|
||||
'load_low_fg' => -1,
|
||||
'load_low_bg' => -1,
|
||||
# Load average - Medium load colors
|
||||
'load_med_fg' => thref 'fg2',
|
||||
'load_med_bg' => thref 'bg2',
|
||||
# Load average - High load colors
|
||||
'load_high_fg' => thref 'fg3' ,
|
||||
'load_high_bg' => thref 'bg3' ,
|
||||
|
||||
# Git - Branch symbol
|
||||
'git_branch_symbol' => "\x{e0a0} " ,
|
||||
# Git - Branch colors - No warning
|
||||
'git_branch_ok_bg' => thref 'bg0' ,
|
||||
'git_branch_ok_fg' => thref 'fg0' ,
|
||||
# Git - Branch colors - Weak warning
|
||||
'git_branch_warn_bg' => thref 'bg2' ,
|
||||
'git_branch_warn_fg' => thref 'fg2' ,
|
||||
# Git - Branch colors - Strong warning
|
||||
'git_branch_danger_bg' => thref 'bg3' ,
|
||||
'git_branch_danger_fg' => thref 'fg3' ,
|
||||
# Git - Repo state colors
|
||||
'git_repstate_bg' => thref 'bg1' ,
|
||||
'git_repstate_fg' => thref 'fg1' ,
|
||||
# Git - Padding character for status sections
|
||||
'git_status_pad' => '' ,
|
||||
# Git - Untracked symbol and colors
|
||||
'git_untracked_symbol' => "\x{2744}",
|
||||
'git_untracked_bg' => thref 'bg3' ,
|
||||
'git_untracked_normal_fg' => thref 'fg3' ,
|
||||
'git_untracked_add_fg' => thref 'fg3' ,
|
||||
'git_untracked_mod_fg' => thref 'fg3' ,
|
||||
'git_untracked_del_fg' => thref 'fg3' ,
|
||||
# Git - Indexed symbol and colors
|
||||
'git_indexed_symbol' => "\x{2630}",
|
||||
'git_indexed_bg' => thref 'bg2' ,
|
||||
'git_indexed_normal_fg' => thref 'fg2' ,
|
||||
'git_indexed_add_fg' => thref 'fg2' ,
|
||||
'git_indexed_mod_fg' => thref 'fg2' ,
|
||||
'git_indexed_del_fg' => thref 'fg2' ,
|
||||
# Git - Add/modify/delete symbols
|
||||
'git_add_symbol' => '+' ,
|
||||
'git_mod_symbol' => "\x{b1}",
|
||||
'git_del_symbol' => "\x{2205}",
|
||||
# Git stash symbol and color
|
||||
'git_stash_symbol' => "\x{2021}",
|
||||
'git_stash_bg' => thref 'bg1' ,
|
||||
'git_stash_fg' => thref 'fg1' ,
|
||||
|
||||
# Python virtual environment section colors
|
||||
'pyenv_fg' => -1,
|
||||
'pyenv_bg' => -1,
|
||||
}
|
130
themes/powerline_yb.pm
Normal file
130
themes/powerline_yb.pm
Normal file
|
@ -0,0 +1,130 @@
|
|||
# powerline_gyr
|
||||
{
|
||||
# Padding character
|
||||
'padding' => ' ',
|
||||
|
||||
# Extra colors for transition strings
|
||||
'transition' => [ 233 ] ,
|
||||
# Default foreground color
|
||||
'fg' => 15,
|
||||
# Color gradient used in various parts
|
||||
fg0 => 226 , bg0 => 21 ,
|
||||
fg1 => 184 , bg1 => 61 ,
|
||||
fg2 => 21 , bg2 => 143 ,
|
||||
fg3 => 18 , bg3 => 226 ,
|
||||
|
||||
# Left side of top line
|
||||
'bg_left' => 239,
|
||||
'fg_left' => thref 'fg',
|
||||
'left_prefix' => '\b1 ' ,
|
||||
'left_separator' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}" ,
|
||||
'left_suffix' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}".' ' ,
|
||||
# Middle of top line
|
||||
'bg_middle' => 235,
|
||||
'fg_middle' => thref 'fg',
|
||||
'middle_prefix' => '',
|
||||
'middle_separator' => ' | ',
|
||||
'middle_suffix' => '',
|
||||
# Right side of top line
|
||||
'bg_right' => 239,
|
||||
'fg_right' => thref 'fg',
|
||||
'right_prefix' => '\f2\b0'."\x{e0b2}".'\f1\b2'."\x{e0b2}".'\b1' ,
|
||||
'right_separator' => '\f2\b0'."\x{e0b2}".'\f1\b2'."\x{e0b2}" ,
|
||||
'right_suffix' => '\b0 ' ,
|
||||
# Input line
|
||||
'bg_input' => 238,
|
||||
'fg_input' => thref 'fg',
|
||||
'input_prefix' => '\b1 ' ,
|
||||
'input_separator' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}" ,
|
||||
'input_suffix' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}".' ' ,
|
||||
# Secondary prompt
|
||||
'bg_ps2' => 234,
|
||||
'ps2_suffix' => '\f0\b2'."\x{e0b0}".'\f2\b1'."\x{e0b0}".' ' ,
|
||||
|
||||
# Current working directory - Truncation string
|
||||
'cwd_trunc' => "\x{2026}",
|
||||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => -1 ,
|
||||
'cwd_bg_color' => -1 ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
# User@host - User - Foreground and background colors
|
||||
'uh_user_fg' => thref 'fg0' ,
|
||||
'uh_user_bg' => thref 'bg0' ,
|
||||
# User@host - Root - Foreground and background colors
|
||||
'uh_root_fg' => thref 'fg3' ,
|
||||
'uh_root_bg' => thref 'bg3' ,
|
||||
|
||||
# Date/time - Colors
|
||||
'dt_time_fg' => -1 ,
|
||||
'dt_date_fg' => -1 ,
|
||||
'dt_bg' => -1 ,
|
||||
|
||||
# Previous command state - Symbols
|
||||
'pcmd_ok_sym' => "\x{2713}",
|
||||
'pcmd_err_sym' => "\x{2717}",
|
||||
# Previous command state - OK text / background color
|
||||
'pcmd_ok_fg' => thref( 'fg3' ) ,
|
||||
'pcmd_ok_bg' => -1 ,
|
||||
# Previous command state - Error text / background color
|
||||
'pcmd_err_fg' => thref( 'fg0' ) ,
|
||||
'pcmd_err_bg' => -1 ,
|
||||
# Previous command state - Other text foreground
|
||||
'pcmd_text_fg' => -1 ,
|
||||
|
||||
# Load average - Symbol or text
|
||||
'load_title' => "\x{219f}",
|
||||
# Load average - Low load colors
|
||||
'load_low_fg' => -1,
|
||||
'load_low_bg' => -1,
|
||||
# Load average - Medium load colors
|
||||
'load_med_fg' => thref 'fg2',
|
||||
'load_med_bg' => thref 'bg2',
|
||||
# Load average - High load colors
|
||||
'load_high_fg' => thref 'fg3' ,
|
||||
'load_high_bg' => thref 'bg3' ,
|
||||
|
||||
# Git - Branch symbol
|
||||
'git_branch_symbol' => "\x{e0a0} " ,
|
||||
# Git - Branch colors - No warning
|
||||
'git_branch_ok_bg' => thref 'bg0' ,
|
||||
'git_branch_ok_fg' => thref 'fg0' ,
|
||||
# Git - Branch colors - Weak warning
|
||||
'git_branch_warn_bg' => thref 'bg2' ,
|
||||
'git_branch_warn_fg' => thref 'fg2' ,
|
||||
# Git - Branch colors - Strong warning
|
||||
'git_branch_danger_bg' => thref 'bg3' ,
|
||||
'git_branch_danger_fg' => thref 'fg3' ,
|
||||
# Git - Repo state colors
|
||||
'git_repstate_bg' => thref 'bg1' ,
|
||||
'git_repstate_fg' => thref 'fg1' ,
|
||||
# Git - Padding character for status sections
|
||||
'git_status_pad' => '' ,
|
||||
# Git - Untracked symbol and colors
|
||||
'git_untracked_symbol' => "\x{2744}",
|
||||
'git_untracked_bg' => thref 'bg3' ,
|
||||
'git_untracked_normal_fg' => thref 'fg3' ,
|
||||
'git_untracked_add_fg' => thref 'fg3' ,
|
||||
'git_untracked_mod_fg' => thref 'fg3' ,
|
||||
'git_untracked_del_fg' => thref 'fg3' ,
|
||||
# Git - Indexed symbol and colors
|
||||
'git_indexed_symbol' => "\x{2630}",
|
||||
'git_indexed_bg' => thref 'bg2' ,
|
||||
'git_indexed_normal_fg' => thref 'fg2' ,
|
||||
'git_indexed_add_fg' => thref 'fg2' ,
|
||||
'git_indexed_mod_fg' => thref 'fg2' ,
|
||||
'git_indexed_del_fg' => thref 'fg2' ,
|
||||
# Git - Add/modify/delete symbols
|
||||
'git_add_symbol' => '+' ,
|
||||
'git_mod_symbol' => "\x{b1}",
|
||||
'git_del_symbol' => "\x{2205}",
|
||||
# Git stash symbol and color
|
||||
'git_stash_symbol' => "\x{2021}",
|
||||
'git_stash_bg' => thref 'bg1' ,
|
||||
'git_stash_fg' => thref 'fg1' ,
|
||||
|
||||
# Python virtual environment section colors
|
||||
'pyenv_fg' => -1,
|
||||
'pyenv_bg' => -1,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue