mirror of
https://github.com/KiTTYsh/dotfiles.git
synced 2025-12-10 05:09:16 -05:00
starship: update config
This commit is contained in:
@@ -1,27 +1,7 @@
|
|||||||
format = """
|
format = '${hostname}${os}${username}${directory}${git_branch}${git_status}${shell}${character}'
|
||||||
$hostname\
|
right_format = '${python}${nodejs}${rust}${golang}${php}${docker_context}${memory_usage}${battery}${time}'
|
||||||
$os\
|
|
||||||
$username\
|
|
||||||
$directory\
|
|
||||||
[](fg:#769ff0 bg:#394260)\
|
|
||||||
$git_branch\
|
|
||||||
$git_status\
|
|
||||||
[](fg:#394260)\
|
|
||||||
$shell\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
right_format = """
|
|
||||||
$python\
|
|
||||||
[ ](fg:#1d2230)$time\
|
|
||||||
$nodejs\
|
|
||||||
$rust\
|
|
||||||
$golang\
|
|
||||||
$php
|
|
||||||
"""
|
|
||||||
|
|
||||||
add_newline = false
|
add_newline = false
|
||||||
|
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
ssh_symbol = ' '
|
ssh_symbol = ' '
|
||||||
@@ -47,7 +27,7 @@ show_always = true
|
|||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "fg:#e3e5e5 bg:#769ff0"
|
style = "fg:#e3e5e5 bg:#769ff0"
|
||||||
format = "[ $path]($style)"
|
format = "[ $path]($style)[](fg:#769ff0 bg:#394260)"
|
||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
truncation_symbol = "/"
|
truncation_symbol = "/"
|
||||||
|
|
||||||
@@ -98,8 +78,32 @@ symbol = ""
|
|||||||
style = "bg:#212736"
|
style = "bg:#212736"
|
||||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[python]
|
||||||
|
format = '[](fg:#244D70)[${symbol} ${pyenv_prefix}(${version})( \($virtualenv\))]($style)[](fg:#244D70)'
|
||||||
|
version_format = '${raw}'
|
||||||
|
symbol = ' '
|
||||||
|
style = 'bold bg:#244D70 fg:#FFDB67'
|
||||||
|
|
||||||
|
[sudo]
|
||||||
|
format = '[](fg:#F90F67)[$symbol]($style)[](fg:#F90F67)'
|
||||||
|
symbol = ' '
|
||||||
|
style = 'bold bg:#F90F67 fg:black'
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[memory_usage]
|
||||||
|
threshold = 0
|
||||||
|
format = '[](fg:#500679)[$symbol ${ram_pct}]($style)[](fg:#500679)([](fg:#2B0962)[ ${swap_pct}](bold bg:#2B0962 fg:#D1C2EA)[](fg:#2B0962))'
|
||||||
|
symbol = ' '
|
||||||
|
style = 'bold bg:#500679 fg:#E3C9F1'
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[battery]
|
||||||
|
format = '[](fg:#061836)[$symbol $percentage](bg:#061836 fg:white)[](fg:#061836)'
|
||||||
|
[[battery.display]]
|
||||||
|
threshold = 100
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
format = '[](fg:#1d2230)[[ $time](fg:#a0a9cb bg:#1d2230)]($style)[](fg:#1d2230)'
|
||||||
use_12hr = false
|
use_12hr = false
|
||||||
time_format = "%T"
|
time_format = "%T"
|
||||||
style = "bg:#1d2230"
|
style = "bg:#1d2230"
|
||||||
|
|||||||
Reference in New Issue
Block a user