54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
format = '''
|
||
[╭─](color1)$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break[╰─](color1)$python$character'''
|
||
|
||
palette = 'colors'
|
||
|
||
[palettes.colors]
|
||
mustard = '#af8700' # example
|
||
color1 = '{{colors.primary_fixed_dim.default.hex}}'
|
||
color2 = '{{colors.on_primary.default.hex}}'
|
||
color3 = '{{colors.on_surface_variant.default.hex}}'
|
||
color4 = '{{colors.surface_container.default.hex}}'
|
||
color5 = '{{colors.on_primary.default.hex}}'
|
||
color6 = '{{colors.surface_dim.default.hex}}'
|
||
color7 = '{{colors.surface.default.hex}}'
|
||
color8 = '{{colors.primary.default.hex}}'
|
||
color9 = '{{colors.tertiary.default.hex}}'
|
||
|
||
[directory]
|
||
style = "bold color8"
|
||
|
||
[character]
|
||
success_symbol = "[❯](bold color9)"
|
||
error_symbol = "[❯](bold red)"
|
||
vicmd_symbol = "[❮](bold color3)"
|
||
|
||
[git_branch]
|
||
format = "[$branch]($style) "
|
||
style = "bold color3"
|
||
|
||
[git_status]
|
||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](color9) ($ahead_behind$stashed)]($style) "
|
||
style = "bold color9"
|
||
conflicted = ""
|
||
untracked = ""
|
||
modified = ""
|
||
staged = ""
|
||
renamed = ""
|
||
deleted = ""
|
||
stashed = "≡"
|
||
|
||
[git_state]
|
||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||
style = "bold color3"
|
||
|
||
[cmd_duration]
|
||
format = "[$duration]($style) "
|
||
style = "bold mustard"
|
||
|
||
[python]
|
||
format = "[$virtualenv]($style) "
|
||
style = "bold color3"
|
||
detect_extensions = []
|
||
detect_files = []
|