Files
dotfiles/starship.toml
2025-03-01 02:03:26 +01:00

104 lines
2.2 KiB
TOML

format = """
[](color_user)\
$os\
$username\
[](fg:color_user bg:color_directory)\
$directory\
[](fg:color_directory bg:color_git)\
$git_branch\
$git_status\
[](fg:color_git bg:color_code)\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$python\
$rust\
$scala\
[](fg:color_code bg:color_time)\
$time\
[ ](color_time)\
$line_break$character
"""
palette = 'lesbian_pastel'
[palettes.lesbian_pastel]
color_user = '#B63520'
color_directory = '#E69070'
color_git = '#F5F5F5'
color_code = '#C07293'
color_time = '#861848'
# Disable the blank line at the start of the prompt
# add_newline = false
# You can also replace your username with a neat symbol like or disable this
# and use the os module below
[username]
show_always = true
style_user = "bg:color_user"
style_root = "bg:color_user"
format = '[ $user ]($style)'
disabled = false
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "bg:color_user"
disabled = false # Disabled by default
[os.symbols]
Macos = "󰀵"
Arch = "󰣇"
[directory]
style = "bg:color_directory"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
#[directory.substitutions]
#"Documents" = "󰈙 "
#"Downloads" = " "
#"Music" = " "
#"Pictures" = " "
# Keep in mind that the order matters. For example:
# "Important Documents" = " 󰈙 "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important 󰈙 " = " 󰈙 "
[git_branch]
symbol = ""
style = "fg:#666666 bg:color_git"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "fg:#666666 bg:color_git"
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = " "
style = "bg:color_code"
format = '[ $symbol ($version) ]($style)'
[python]
symbol = ""
style = "bg:color_code"
format = '[ $symbol ($virtualenv)($version) ]($style)'
pyenv_version_name = true
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:color_time"
format = '[ ♥ $time ]($style)'