configs/dot.config/starship.toml

365 lines
6.8 KiB
TOML
Raw Normal View History

2024-07-11 15:03:00 +02:00
format = """
[](color_blue)\
$cmd_duration\
$hostname\
$localip\
$shlvl\
$shell\
$env_var\
[](fg:color_aqua bg:color_blue)\
$username\
$sudo\
[](fg:color_blue bg:color_bg3)\
$os\
$battery\
$status\
[](fg:color_bg3 bg:color_bg1)\
$character\
[ ](fg:color_bg1)\
"""
right_format = """
[ ](fg:color_bg1)\
$vcsh\
$fossil_branch\
$git_branch\
$git_status\
$git_commit\
$git_state\
$git_metrics\
$hg_branch\
$pijul_channel\
[ ](fg:color_bg2 bg:color_bg1)\
$directory\
[ ](fg:color_bg3 bg:color_bg2)\
$c\
$cmake\
$cobol\
$daml\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$fennel\
$golang\
$guix_shell\
$haskell\
$haxe\
$helm\
$java\
$julia\
$kotlin\
$gradle\
$lua\
$nim\
$nodejs\
$ocaml\
$opa\
$perl\
$php\
$pulumi\
$purescript\
$python\
$raku\
$rlang\
$red\
$ruby\
$rust\
$scala\
$solidity\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
2024-07-14 21:11:59 +02:00
[ ](fg:color_blue bg:color_bg3)\
$package\
2024-07-11 15:03:00 +02:00
$memory_usage\
$custom\
$jobs\
$container\
2024-07-14 21:11:59 +02:00
[ ](fg:color_aqua bg:color_blue)\
2024-07-11 15:03:00 +02:00
"""
add_newline = true
palette = 'gruvbox_dark'
[palettes.gruvbox_dark]
color_fg0 = '#fbf1c7'
2024-07-14 21:11:59 +02:00
color_fg1 = '#b9b0a0'
2024-07-11 15:03:00 +02:00
color_bg1 = '#3c3836'
color_bg2 = '#444444'
color_bg3 = '#665c54'
color_blue = '#458588'
color_aqua = '#689d6a'
color_green = '#98971a'
color_orange = '#d65d0e'
color_purple = '#b16286'
color_red = '#cc241d'
color_yellow = '#d79921'
color_gold = '#998855'
[os]
disabled = false
style = "bg:color_bg3 fg:color_fg0"
[os.symbols]
Windows = "󰍲"
Ubuntu = "󰕈"
SUSE = ""
Raspbian = "󰐿"
Mint = "󰣭"
Macos = "󰀵"
Manjaro = ""
Linux = "󰌽"
Gentoo = "󰣨"
Fedora = " 󰣛 "
Alpine = ""
Amazon = ""
Android = ""
Arch = "󰣇"
Artix = "󰣇"
CentOS = ""
Debian = "󰣚"
Redhat = "󱄛"
RedHatEnterprise = "󱄛"
[character]
format = "$symbol"
#success_symbol = "[](bold)"
success_symbol = "[](bold bg:color_bg1)"
error_symbol = "[⊘ ](fg:color_yellow bg:color_bg1)"
[env_var.VIMSHELL] # vim subshell
format = "[$env_value]($style)"
style = 'green italic'
[sudo]
format = "[$symbol]($style)"
style = "italic bright-purple"
symbol = "◇┈"
disabled = false
[username]
style_user = "yellow bold"
style_root = "purple bold italic"
format = "[$user]($style) ▻ "
disabled = false
[directory]
2024-07-14 21:11:59 +02:00
home_symbol = " 󰋜 "
2024-07-11 15:03:00 +02:00
truncation_length = 3
truncation_symbol = "…/"
truncate_to_repo = true
read_only = " 🔏"
read_only_style = "bold red"
style = "color_fg0 bg:color_bg2"
format = '[$path]($style)[$read_only]($read_only_style)'
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = "󰝚 "
"Pictures" = " "
"Developer" = "󰲋 "
[cmd_duration]
min_time = 500
2024-07-14 21:11:59 +02:00
format = "[ $duration ](italic bright-yellow)"
2024-07-11 15:03:00 +02:00
[jobs]
2024-07-14 21:11:59 +02:00
format = '[ job(s \($number\)) ]($style)'
style = "fg:color_fg1 bg:color_blue"
2024-07-11 15:03:00 +02:00
[localip]
ssh_only = true
format = " ◯[$localipv4](bold magenta)"
disabled = false
[time]
disabled = false
format = "[ $time]($style)"
time_format = "%R"
utc_time_offset = "local"
style = "dimmed white"
[status]
format = "[$symbol$common_meaning$signal_name$maybe_int]($style)"
style = 'bg:yellow'
symbol = '❌'
map_symbol = true
[battery]
format = "[ $percentage $symbol]($style)"
full_symbol = "[󱊣](italic green)"
charging_symbol = "[󱟠](italic green)"
discharging_symbol = "[󱟞](italic)"
unknown_symbol = "[󱃌](italic)"
empty_symbol = "[󰂎](italic red)"
[[battery.display]]
threshold = 40
2024-07-17 20:37:03 +02:00
style = "fg:color_yellow bg:color_bg3"
2024-07-11 15:03:00 +02:00
[[battery.display]]
threshold = 70
2024-07-17 20:37:03 +02:00
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
[git_branch]
format = "[󰊢 $branch(:$remote_branch)]($style)"
style = "bg:color_bg1 fg:color_yellow"
[git_status]
format = '[( $all_status$ahead_behind )](fg:color_gold bg:color_bg1)'
up_to_date = "✓ "
conflicted = "◪◦"
ahead = "󰮽┤${count}│"
behind = "󰮷┤${count}│"
diverged = "󰮽┤${ahead_count}│󰮷┤${behind_count}│"
untracked = "󰜄 "
stashed = "◫◦"
modified = "󰷥 "
staged = "■┤$count│"
renamed = "◎◦"
deleted = "✕ "
[deno]
2024-07-14 21:11:59 +02:00
symbol = "🦕 "
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ ${symbol}${version} ]($style)"
2024-07-11 15:03:00 +02:00
[lua]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ ${symbol}${version} ]($style)"
2024-07-11 15:03:00 +02:00
[nodejs]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ ${symbol}${version} ]($style)"
detect_files = ["package-lock.json", "yarn.lock", "pnpm-lock.json"]
2024-07-11 15:03:00 +02:00
[python]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[ruby]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[rust]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[package]
2024-07-14 21:11:59 +02:00
symbol = "📦 "
style = "fg:color_fg1 bg:color_blue"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[swift]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
version_format = "${major}.${minor}"
2024-07-14 21:11:59 +02:00
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[aws]
2024-07-14 21:11:59 +02:00
symbol = " "
format = "[ $symbol $profile $region ]($style)"
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
[buf]
2024-07-14 21:11:59 +02:00
symbol = " "
format = "[ buf $symbol ($version )$buf_version ]($style)"
style = "fg:color_fg1 bg:color_bg3"
2024-07-11 15:03:00 +02:00
[c]
symbol = "∁ "
2024-07-14 21:11:59 +02:00
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version(-$name))]($style)"
2024-07-11 15:03:00 +02:00
[conda]
symbol = "◯ "
2024-07-14 21:11:59 +02:00
style = "fg:color_fg1 bg:color_bg3"
format = "[ conda $symbol$environment]($style)"
2024-07-11 15:03:00 +02:00
[dart]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[docker_context]
2024-07-14 21:11:59 +02:00
symbol = " "
format = "[ $symbol$context ]($style)"
2024-07-11 15:03:00 +02:00
[elixir]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol $version OTP $otp_version ]($style)"
2024-07-11 15:03:00 +02:00
[elm]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[golang]
2024-07-14 21:11:59 +02:00
symbol = "󰟓 "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[haskell]
2024-07-14 21:11:59 +02:00
symbol = "󰲒 "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[java]
2024-07-14 21:11:59 +02:00
symbol = "󰬷 "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[julia]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[memory_usage]
symbol = "▪▫▪ "
format = " mem [${ram}( ${swap})]($style)"
[nim]
2024-07-14 21:11:59 +02:00
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
2024-07-11 15:03:00 +02:00
[nix_shell]
2024-07-14 21:11:59 +02:00
symbol = "󱄅 "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol$state $name]($style)"
2024-07-11 15:03:00 +02:00
[spack]
symbol = "◇ "
2024-07-14 21:11:59 +02:00
style = "fg:color_fg1 bg:color_bg3"
format = "[ spack $symbol$environment ]($style)"
[vlang]
symbol = "V"
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"
[zig]
symbol = " "
style = "fg:color_fg1 bg:color_bg3"
format = "[ $symbol($version) ]($style)"