Files
dotfiles/starship.toml
2025-03-02 22:57:29 +01:00

150 lines
3.5 KiB
TOML

format = """
[](color_user_bg)\
$os\
$username\
$hostname\
[](fg:color_user_bg bg:color_directory_bg)\
$directory\
$direnv\
[](fg:color_directory_bg bg:color_git_bg)\
$git_branch\
$git_status\
[](fg:color_git_bg bg:color_code_bg)\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$python\
$rust\
$scala\
[](fg:color_code_bg bg:color_time_bg)\
$time\
[ ](color_time_bg)\
$line_break$character
"""
palette = 'lesbian_pastel'
[palettes.lesbian_pastel]
color_user_fg = '#FFFFFF'
color_user_bg = '#B63520'
color_directory_fg = '#FFFFFF'
color_directory_bg = '#E69070'
color_git_fg = '#666666'
color_git_bg = '#F5F5F5'
color_code_fg = '#FFFFFF'
color_code_bg = '#C07293'
color_time_fg = '#FFFFFF'
color_time_bg = '#861848'
[palettes.bisexual]
color_user_fg = '#FFFFFF'
color_user_bg = '#D60270'
color_directory_fg = '#FFFFFF'
color_directory_bg = '#D60270'
color_git_fg = '#FFFFFF'
color_git_bg = '#9B4F96'
color_code_fg = '#FFFFFF'
color_code_bg = '#0038A8'
color_time_fg = '#FFFFFF'
color_time_bg = '#0038A8'
[palettes.pansexual]
color_user_fg = '#666666'
color_user_bg = '#FFFFFF'
color_directory_fg = '#666666'
color_directory_bg = '#FCBF00'
color_git_fg = '#FFFFFF'
color_git_bg = '#009FE3'
color_code_fg = '#FFFFFF'
color_code_bg = '#E50051'
color_time_fg = '#FFFFFF'
color_time_bg = '#340C46'
# 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 = "fg:color_user_fg bg:color_user_bg"
style_root = "fg:color_user_fg bg:color_user_bg"
format = '[ $user]($style)'
disabled = false
[hostname]
ssh_only = false
style = 'fg:color_user_fg bg:color_user_bg'
format = '[@$hostname$ssh_symbol ]($style)'
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "fg:color_user_fg bg:color_user_bg"
disabled = false # Disabled by default
[os.symbols]
Macos = "󰀵"
Arch = "󰣇"
[directory]
style = "fg:color_directory_fg bg:color_directory_bg"
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:color_git_fg bg:color_git_bg"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "fg:color_git_fg bg:color_git_bg"
ahead = '⇡${count}'
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
behind = '⇣${count}'
untracked = '?${count} '
modified = '!${count} '
stashed = '$${count} '
staged = '+${count} '
renamed = '»${count} '
deleted = '-${count} '
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = ""
style = "fg:color_code_fg bg:color_code_bg"
format = '[ $symbol ($version) ]($style)'
[python]
symbol = ""
style = "fg:color_code_fg bg:color_code_bg"
format = '[ $symbol ($virtualenv)($version) ]($style)'
pyenv_version_name = true
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "fg:color_time_fg bg:color_time_bg"
format = '[ ♥ $time ]($style)'