(starship): adjust some styles, switched to template.
This commit is contained in:
parent
65781dc73f
commit
45654783a0
@ -10,6 +10,7 @@ $git_status\
|
||||
$nodejs\
|
||||
$rust\
|
||||
$golang\
|
||||
$gradle\
|
||||
$php\
|
||||
$java\
|
||||
[](fg:#212736 bg:#1d2230)\
|
||||
@ -34,7 +35,7 @@ disabled = false
|
||||
style = "bg:#a3aed2 fg:#090c0c"
|
||||
|
||||
[directory]
|
||||
style = "fg:#e3e5e5 bg:#769ff0"
|
||||
style = "fg:#090c0c bg:#769ff0"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
@ -62,6 +63,7 @@ format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
@ -83,8 +85,16 @@ format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol($version)](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[gradle]
|
||||
style = "fg:#769ff0 bg:#212736"
|
||||
format = '[[ $symbol($version)](fg:#769ff0 bg:#212736)]($style)'
|
||||
|
||||
[custom.os]
|
||||
command = 'chezmoi data | jq -r .chezmoi.osRelease.prettyName'
|
||||
when = 'command -v chezmoi'
|
||||
{{ if eq .chezmoi.os "linux" }}
|
||||
command = 'echo {{ .chezmoi.osRelease.prettyName }}'
|
||||
{{ else if eq .chezmoi.os "windows" }}
|
||||
command = 'echo {{ .chezmoi.windowsVersion.productName }}'
|
||||
{{ end }}
|
||||
when = true
|
||||
format = "[$output]($style)"
|
||||
style = "bg:#a3aed2 fg:#090c0c"
|
||||
Loading…
Reference in New Issue
Block a user