punktdateien/lone-files/starship.toml

107 lines
No EOL
2.3 KiB
TOML

"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
format = '''
[┌─── \[](bold #d60532)$username$hostname$localip[\]](bold #d60532) [──────](bold #d60532)
[│](bold #d60532) $directory$git_branch$git_metrics$jobs
[│](bold #d60532) $os$memory_usage
[└───────](bold #d60532)$status$character'''
right_format = ""
scan_timeout = 1
command_timeout = 500
add_newline = true
[line_break]
disabled = false
[username]
disabled = false
style_root = "bold #5b23fc"
style_user = "bold #d60532"
format = "[$user]($style)"
show_always = true
[hostname]
disabled = false
ssh_only = false
ssh_symbol = "°"
trim_at = ""
format = "[@$hostname$ssh_symbol]($style)"
style = "bold #d60532"
[localip]
disabled = false
ssh_only = false
format = " [$localipv4]($style)"
style = "bold #d60532"
[directory]
disabled = false
truncation_length = 2
truncation_symbol = "…"
truncate_to_repo = true
format = "[$path]($style)[$read_only]($read_only_style)"
style = "bold #5b23fc"
read_only = "°"
read_only_style = "bold #5b23fc"
home_symbol = "~"
use_os_path_sep = false
[git_branch]
disabled = false
always_show_remote = false
format = " [$symbol[$branch](underline $style)]($style)"
symbol = " "
style = "bold #d60532"
truncation_symbol = "…"
only_attached = true
ignore_branches = []
[git_metrics]
disabled = false
added_style = "bold green"
deleted_style = "bold #d60532"
only_nonzero_diffs = false
format = " [\\[add ${added}\\]]($added_style) [\\[del ${deleted}\\]]($deleted_style)"
ignore_submodules = true
[jobs]
disabled = false
symbol_threshold = 2
number_threshold = 2
format = " [\\[running job$symbol$number\\]]($style)"
symbol = "s: "
style = "bold #5b23fc"
[os]
disabled = false
format = "[$symbol]($style) "
style = "bold #5b23fc"
[os.symbols]
Android = "Termux"
Arch = "Arch"
Debian = "Debian"
Raspbian = "RPi"
Unknown = "?"
[memory_usage]
disabled = false
threshold = 0
format = "[\\[mem% $ram_pct\\] \\[mem $ram\\]]($style)"
symbol = ""
style = "bold #d60532"
[status]
disabled = false
format = "[$signal_name$common_meaning]($style)"
style = "bold #5b23fc"
recognize_signal_code = true
map_symbol = true
pipestatus = false
[character]
disabled = false
format = "$symbol "
success_symbol = "[>](bold #ffffff)"
error_symbol = "[>](bold #d60532)"