50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
format = """
|
|
[](surface0)$os$directory[](fg:surface0 bg:peach)$git_branch$git_status[](fg:peach bg:surface1)$c$rust$nodejs$python$golang[](fg:surface1 bg:surface0)$nix_shell[](surface0)
|
|
$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}}'
|
|
|
|
[os]
|
|
disabled = false
|
|
format = "[$symbol]($style)"
|
|
style = "bg:surface0 fg:text"
|
|
|
|
[os.symbols]
|
|
NixOS = " "
|
|
|
|
[directory]
|
|
style = "bg:surface0 fg:lavender"
|
|
format = "[ $path ]($style)"
|
|
truncation_length = 3
|
|
truncation_symbol = "…/"
|
|
|
|
[git_branch]
|
|
symbol = " "
|
|
style = "bg:peach fg:surface0"
|
|
format = "[[ $symbol $branch ]($style)]($style)"
|
|
|
|
[git_status]
|
|
style = "bg:peach fg:surface0"
|
|
format = "[[($all_status$ahead_behind )]($style)]($style)"
|
|
|
|
[nix_shell]
|
|
symbol = " "
|
|
style = "bg:surface0 fg:sapphire"
|
|
format = "[ $symbol $state ]($style)"
|
|
|
|
[character]
|
|
success_symbol = "[](bold green)"
|
|
error_symbol = "[](bold red)"
|