starship: init
This commit is contained in:
parent
003c9b0c8b
commit
0108755a34
1 changed files with 218 additions and 0 deletions
218
.config/starship.toml
Normal file
218
.config/starship.toml
Normal file
|
|
@ -0,0 +1,218 @@
|
|||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
format = """
|
||||
$username\
|
||||
[@](bg:nord0 fg:nord4)\
|
||||
$hostname\
|
||||
$os\
|
||||
[](bg:nord1 fg:nord0)\
|
||||
$directory\
|
||||
[](bg:nord2 fg:nord1)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
$git_metrics\
|
||||
[](bg:nord3 fg:nord2)\
|
||||
$c\
|
||||
$elixir\
|
||||
$elm\
|
||||
$golang\
|
||||
$python\
|
||||
$gradle\
|
||||
$haskell\
|
||||
$java\
|
||||
$julia\
|
||||
$nodejs\
|
||||
$nim\
|
||||
$rust\
|
||||
$scala\
|
||||
$zig\
|
||||
[](fg:nord3)
|
||||
$character
|
||||
"""
|
||||
|
||||
add_newline = false
|
||||
palette = 'nord'
|
||||
|
||||
[palettes.nord]
|
||||
nord0 = '#2E3440'
|
||||
nord1 = '#3B4252'
|
||||
nord2 = '#434C5E'
|
||||
nord3 = '#4C566A'
|
||||
nord4 = '#D8DEE9'
|
||||
nord11 = '#BF616A'
|
||||
nord13 = '#EBCB8B'
|
||||
nord14 = '#A2BE8A'
|
||||
|
||||
[battery]
|
||||
disabled = true
|
||||
|
||||
[username]
|
||||
style_root = 'bg:nord0 fg:nord11'
|
||||
style_user = 'bg:nord0 fg:nord4'
|
||||
format = '[$user]($style)'
|
||||
show_always = true
|
||||
disabled = false
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
ssh_symbol = ' '
|
||||
trim_at = '.'
|
||||
format = '[$hostname$ssh_symbol]($style)'
|
||||
style = 'bg:nord0 fg:nord4'
|
||||
disabled = false
|
||||
|
||||
[os]
|
||||
format = '[ $symbol ]($style)'
|
||||
style = 'bg:nord0 fg:nord4'
|
||||
disabled = false
|
||||
# for symbols look at the end of the file
|
||||
|
||||
# directory
|
||||
[directory]
|
||||
truncation_length = 1
|
||||
truncate_to_repo = true
|
||||
format = '[ $path ]($style)[$read_only]($read_only_style)'
|
||||
style = 'bg:nord1 fg:nord4'
|
||||
disabled = false
|
||||
read_only = ' '
|
||||
read_only_style = 'bg:nord1 fg:nord11'
|
||||
truncation_symbol = ''
|
||||
|
||||
[directory.substitutions]
|
||||
'Documents' = ''
|
||||
'Downloads' = ' '
|
||||
'Music' = ' '
|
||||
'Pictures' = ' '
|
||||
'Dev' = ' '
|
||||
|
||||
# git
|
||||
[git_branch]
|
||||
symbol = ''
|
||||
style = 'bg:nord2 fg:nord4'
|
||||
format = '[ $symbol $branch ]($style)'
|
||||
|
||||
[git_status]
|
||||
style = 'bg:nord2 fg:nord4'
|
||||
format = '[$all_status$ahead_behind ]($style)'
|
||||
|
||||
[git_metrics]
|
||||
added_style = 'bg:nord2 fg:nord14'
|
||||
deleted_style = 'bg:nord2 fg:nord11'
|
||||
format = '[+$added ]($added_style)[-$deleted ]($deleted_style)'
|
||||
disabled = false
|
||||
|
||||
[c]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[elixir]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[elm]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[python]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) (\($virtualenv\)) ]($style)'
|
||||
|
||||
[gradle]
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[java]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[julia]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ''
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[nim]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ''
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[scala]
|
||||
symbol = ' '
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[zig]
|
||||
symbol = ''
|
||||
style = 'bg:nord3 fg:nord4'
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[character]
|
||||
format = '[$symbol](bold) '
|
||||
error_symbol = '[❯](fg:nord11)'
|
||||
success_symbol = '[❯](fg:nord14)'
|
||||
|
||||
# OS symbols
|
||||
[os.symbols]
|
||||
Alpaquita = ' '
|
||||
Alpine = ' '
|
||||
Amazon = ' '
|
||||
Android = ' '
|
||||
Arch = ' '
|
||||
Artix = ' '
|
||||
CentOS = ' '
|
||||
Debian = ' '
|
||||
DragonFly = ' '
|
||||
Emscripten = ' '
|
||||
EndeavourOS = ' '
|
||||
Fedora = ' '
|
||||
FreeBSD = ' '
|
||||
Garuda = ' '
|
||||
Gentoo = ' '
|
||||
HardenedBSD = ' '
|
||||
Illumos = ' '
|
||||
Linux = ' '
|
||||
Mabox = ' '
|
||||
Macos = ' '
|
||||
Manjaro = ' '
|
||||
Mariner = ' '
|
||||
MidnightBSD = ' '
|
||||
Mint = ' '
|
||||
NetBSD = ' '
|
||||
NixOS = ' '
|
||||
OpenBSD = ' '
|
||||
openSUSE = ' '
|
||||
OracleLinux = ' '
|
||||
Pop = ' '
|
||||
Raspbian = ' '
|
||||
Redhat = ' '
|
||||
RedHatEnterprise = ' '
|
||||
Redox = ' '
|
||||
Solus = ' '
|
||||
SUSE = ' '
|
||||
Ubuntu = ' '
|
||||
Unknown = ' '
|
||||
Windows = ' '
|
||||
Loading…
Add table
Add a link
Reference in a new issue