77 lines
2.0 KiB
TOML
77 lines
2.0 KiB
TOML
# ╔══════════════════════════════════════════════════════════════════╗
|
||
# ║ arch-dev :: starship.toml (desktop) ║
|
||
# ║ Kanagawa Wave · 256-color only · no hex RGB ║
|
||
# ╚══════════════════════════════════════════════════════════════════╝
|
||
# 256-color Kanagawa approximations:
|
||
# 110 = crystalBlue 106 = springGreen 139 = oniViolet
|
||
# 173 = boatYellow 167 = peachRed 66 = waveAqua
|
||
# 242 = fujiGray 250 = fujiWhite 236 = waveBlue
|
||
|
||
format = """
|
||
╭─$os$username$hostname$directory$git_branch$git_status$python
|
||
╰─$character"""
|
||
|
||
right_format = """$cmd_duration$time"""
|
||
|
||
[os]
|
||
disabled = false
|
||
style = "bold fg:139"
|
||
|
||
[os.symbols]
|
||
Arch = " "
|
||
|
||
[username]
|
||
show_always = true
|
||
style_user = "bold fg:110"
|
||
style_root = "bold fg:167"
|
||
format = "[$user]($style)"
|
||
|
||
[hostname]
|
||
ssh_only = false
|
||
style = "fg:242"
|
||
format = "@[$hostname]($style) "
|
||
|
||
[directory]
|
||
style = "bold fg:173"
|
||
truncation_length = 5
|
||
truncate_to_repo = true
|
||
read_only = " "
|
||
format = "in [$path]($style)[$read_only](fg:167) "
|
||
|
||
[git_branch]
|
||
symbol = " "
|
||
style = "bold fg:106"
|
||
format = "on [$symbol$branch]($style) "
|
||
|
||
[git_status]
|
||
style = "fg:167"
|
||
conflicted = "✖ "
|
||
ahead = "⇡${count} "
|
||
behind = "⇣${count} "
|
||
modified = "✎${count} "
|
||
untracked = "?${count} "
|
||
staged = "✔${count} "
|
||
format = "([$all_status$ahead_behind]($style))"
|
||
|
||
[python]
|
||
symbol = " "
|
||
style = "fg:66"
|
||
format = " [$symbol$version( $virtualenv)]($style)"
|
||
detect_files = ["*.py", "requirements.txt", "pyproject.toml"]
|
||
|
||
[cmd_duration]
|
||
min_time = 2000
|
||
style = "fg:242"
|
||
format = " took [$duration]($style)"
|
||
|
||
[time]
|
||
disabled = false
|
||
style = "fg:236"
|
||
format = " [$time]($style)"
|
||
time_format = "%H:%M"
|
||
|
||
[character]
|
||
success_symbol = "[❯](bold fg:106)"
|
||
error_symbol = "[❯](bold fg:167)"
|
||
vimcmd_symbol = "[❮](bold fg:139)"
|