111 lines
2.2 KiB
INI
111 lines
2.2 KiB
INI
format = """
|
|
$all\
|
|
$line_break\
|
|
$time\
|
|
$status\
|
|
$character
|
|
"""
|
|
|
|
scan_timeout = 25
|
|
command_timeout = 200
|
|
|
|
[character]
|
|
success_symbol = "[➜](bold green)"
|
|
error_symbol = "[🔥](bold #ee4e4e)"
|
|
vicmd_symbol = "[N](bold green)"
|
|
|
|
[battery]
|
|
full_symbol = "•"
|
|
charging_symbol = "⇡"
|
|
discharging_symbol = "⇣"
|
|
unknown_symbol = "~"
|
|
disabled = true
|
|
|
|
[[battery.display]]
|
|
threshold = 35
|
|
|
|
[cmake]
|
|
format = "[$symbol]($style)"
|
|
|
|
[cmd_duration]
|
|
# notification support via
|
|
# cargo install starship --features=notify-rust
|
|
show_notifications = true
|
|
# in milliseconds
|
|
min_time_to_notify = 13_000
|
|
notification_timeout = 3_750
|
|
|
|
[directory]
|
|
truncate_to_repo = true
|
|
truncation_symbol = "…/"
|
|
style = "bold blue"
|
|
|
|
[docker_context]
|
|
disabled = true
|
|
|
|
[git_branch]
|
|
format = "[$symbol$branch]($style) "
|
|
style = "bright-black"
|
|
|
|
# [git_commit]
|
|
# only_detached = false
|
|
|
|
[git_metrics]
|
|
disabled = false
|
|
added_style = "bold blue"
|
|
|
|
[git_status]
|
|
ahead = "⇡${count}"
|
|
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|
behind = "⇣${count} "
|
|
deleted = "[•](bold red)"
|
|
untracked = "[⚶](bold cyan)"
|
|
stashed = "[≡](bold yellow)"
|
|
staged = "[+](bold green)"
|
|
modified = "[∆](bold green)"
|
|
renamed = "[⥁](bold purple)"
|
|
conflicted = "[⥯](bold red)"
|
|
format = "[($conflicted$stashed$modified$staged$renamed$deleted$untracked$ahead_behind )]($style)"
|
|
|
|
[golang]
|
|
format = "[$symbol]($style)"
|
|
|
|
[kotlin]
|
|
format = "[$symbol($version )]($style)"
|
|
|
|
[lua]
|
|
disabled = true
|
|
|
|
[nodejs]
|
|
symbol = "⬢ "
|
|
format = "[$symbol]($style)"
|
|
|
|
[package]
|
|
disabled = false
|
|
symbol = "⬢ "
|
|
style = "bold bright-black"
|
|
format = "[$symbol($version )]($style)"
|
|
|
|
[python]
|
|
# don't trigger just when a ".py" is found
|
|
detect_extensions = []
|
|
style = "bright-black"
|
|
format = "[${symbol}${pyenv_prefix}(${version} )$virtualenv ]($style)"
|
|
|
|
[rust]
|
|
format = "[$symbol($version )]($style)"
|
|
|
|
[status]
|
|
disabled = false
|
|
style = "red"
|
|
symbol = "\\(╯°□°)╯︵ ┻━┻ "
|
|
format = " \b(bg:$style fg:#4169e1)[$symbol$status](bg:$style)(fg:$style)"
|
|
# ref:
|
|
# https://github.com/starship/starship/discussions/1107#discussioncomment-345147
|
|
|
|
[time]
|
|
# Enable and format the time module
|
|
disabled = false
|
|
style = "bold bright-black"
|
|
format = "[$time]($style)"
|