dotfiles/dot_config/starship.toml

54 lines
1.2 KiB
TOML
Raw Normal View History

2023-10-10 20:22:26 +00:00
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = true
format = """\
[](bg:#030B16 fg:#7DF9AA)\
[ ](bg:#7DF9AA fg:#090c0c)\
[](fg:#7DF9AA bg:#1C3A5E)\
$time\
[](fg:#1C3A5E bg:#3B76F0)\
$directory\
[](fg:#3B76F0 bg:#FCF392)\
$git_branch\
$git_status\
$git_metrics\
[](fg:#FCF392 bg:#030B16)\
$character\
"""
[directory]
format = "[  $path ]($style)"
style = "fg:#E4E4E4 bg:#3B76F0"
[git_branch]
format = '[ $symbol$branch(:$remote_branch) ]($style)'
symbol = "  "
style = "fg:#1C3A5E bg:#FCF392"
[git_status]
format = '[$all_status]($style)'
style = "fg:#1C3A5E bg:#FCF392"
[git_metrics]
format = "([+$added]($added_style))[]($added_style)"
added_style = "fg:#1C3A5E bg:#FCF392"
deleted_style = "fg:bright-red bg:235"
disabled = false
[cmd_duration]
format = "[  $duration ]($style)"
style = "fg:bright-white bg:18"
[character]
success_symbol = '[ ➜](bold green) '
error_symbol = '[ ✗](#E84D44) '
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[ 󱑍 $time ](bg:#1C3A5E fg:#8DFBD2)]($style)'