updated startship config

This commit is contained in:
Sven Vogel 2023-12-01 16:25:53 +01:00
parent deebae2a46
commit 20d705c297
1 changed files with 87 additions and 51 deletions

View File

@ -1,33 +1,104 @@
# Based on: https://starship.rs/presets/pastel-powerline.html
format = """ format = """
[](#a3aed2)\ [ \
[ ](bg:#a3aed2 fg:#090c0c)\
$username\ $username\
[](bg:#769ff0 fg:#a3aed2)\ $hostname\
$localip\
$shlvl\
$singularity\
$kubernetes\
$directory\ $directory\
[](fg:#769ff0 bg:#394260)\ $vcsh\
$fossil_branch\
$git_branch\ $git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\ $git_status\
[](fg:#394260 bg:#212736)\ $hg_branch\
$nodejs\ $pijul_channel\
$rust\ $docker_context\
$package\
$c\
$cmake\
$cobol\
$daml\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$fennel\
$golang\ $golang\
$guix_shell\
$haskell\
$haxe\
$helm\
$java\
$julia\
$kotlin\
$gradle\
$lua\
$nim\
$nodejs\
$ocaml\
$opa\
$perl\
$php\ $php\
[](fg:#212736 bg:#1d2230)\ $pulumi\
$purescript\
$python\
$raku\
$rlang\
$red\
$ruby\
$rust\
$scala\
$solidity\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$buf\
$nix_shell\
$conda\
$meson\
$spack\
$memory_usage\
$aws\
$gcloud\
$openstack\
$azure\
$env_var\
$crystal\
$custom\
$sudo\
$cmd_duration\
](bold teal)
[](bold teal) \
$jobs\
$battery\
$time\ $time\
[ ](fg:#1d2230)""" $status\
$os\
$container\
$character"""
[git_branch]
symbol = ' '
format = 'on [$symbol$branch(:$remote_branch)]($style) '
[username] [username]
show_always = true show_always = true
style_user = "bg:#a3aed2 fg:#090c0c" style_user = "bold blue"
style_root = "bg:#a3aed2 fg:#090c0c" style_root = "bold red"
format = '[$user ]($style)' format = '[$user]($style) in '
disabled = false disabled = false
[directory] [directory]
style = "fg:#e3e5e5 bg:#769ff0" style = "white"
format = "[ $path ]($style)" format = "[$path]($style)[$read_only]($read_only_style) "
truncation_length = 3 truncation_length = 3
truncation_symbol = "…/" truncation_symbol = "…/"
@ -39,38 +110,3 @@ truncation_symbol = "…/"
"Video" = " " "Video" = " "
"Desktop" = " " "Desktop" = " "
[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
[nodejs]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[php]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'