trajto(starship): aldoni oneDark temo
This commit is contained in:
parent
1b3204e6fc
commit
bba3e78d26
1 changed files with 242 additions and 21 deletions
|
@ -1,31 +1,16 @@
|
|||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
# Use the color palette
|
||||
palette = "dracula"
|
||||
palette = 'one_dark'
|
||||
|
||||
[aws]
|
||||
style = "bold orange"
|
||||
|
||||
[character]
|
||||
error_symbol = "[λ:](bold red)"
|
||||
success_symbol = "[λ:](bold green)"
|
||||
style = "color_orange"
|
||||
|
||||
[cmd_duration]
|
||||
style = "bold yellow"
|
||||
|
||||
[directory]
|
||||
style = "bold green"
|
||||
|
||||
[git_branch]
|
||||
style = "bold pink"
|
||||
|
||||
[git_status]
|
||||
style = "bold red"
|
||||
style = "color_yellow"
|
||||
|
||||
[hostname]
|
||||
style = "bold purple"
|
||||
|
||||
[username]
|
||||
format = "[$user]($style) on "
|
||||
style_user = "bold cyan"
|
||||
style = "color_purple"
|
||||
|
||||
# Define Dracula color palette
|
||||
[palettes.dracula]
|
||||
|
@ -40,3 +25,239 @@ pink = "#ff79c6"
|
|||
purple = "#bd93f9"
|
||||
red = "#ff5555"
|
||||
yellow = "#f1fa8c"
|
||||
|
||||
# Sets the colors of the "one_dark" palette.
|
||||
[palettes.one_dark]
|
||||
mono0 = '#d7dae0' # terminal white, from the One Dark Pro VSCode theme.
|
||||
mono1 = '#abb2bf' # syntax_fg.
|
||||
mono2 = '#828997'
|
||||
mono3 = '#5c6370'
|
||||
mono4 = '#3f4451' # terminal black, from the One Dark Pro VSCode theme.
|
||||
color_red0 = '#e06c75'
|
||||
color_red1 = '#be5046'
|
||||
color_green = '#98c379'
|
||||
color_yellow = '#e5c07b'
|
||||
color_blue = '#61afef'
|
||||
color_purple = '#c678dd'
|
||||
color_cyan = '#56b6c2'
|
||||
color_orange = '#d19a66'
|
||||
syntax_fg = '#abb2bf'
|
||||
syntax_bg = '#282c34'
|
||||
color_bg2 = '#665c54'
|
||||
syntax_gutter = '#647382'
|
||||
syntax_accent = '#528cff'
|
||||
|
||||
# Module that displays the current OS.
|
||||
#[os]
|
||||
#disabled = false # Disabled by default
|
||||
#style = "color_blue"
|
||||
#format = '[ $symbol ]($style)'
|
||||
|
||||
# Sets custom symbols for each OS.
|
||||
#[os.symbols]
|
||||
#NixOS = ""
|
||||
|
||||
# Module that displays the current username.
|
||||
[username]
|
||||
show_always = false
|
||||
style_user = "bold fg:color_red0"
|
||||
style_root = "bold italic bg:color_red0 fg:syntax_bg"
|
||||
format = '[ $user ]($style)'
|
||||
|
||||
# Module that displays the current directory.
|
||||
[directory]
|
||||
style = "fg:color_orange"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
# Sets the custom symbols for directories.
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Developer" = " "
|
||||
|
||||
# Module that displays the current git branch.
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "fg:color_yellow"
|
||||
format = '[[ $symbol $branch ](fg:color_yellow)]($style)'
|
||||
|
||||
# Module that displays the current git status.
|
||||
[git_status]
|
||||
style = "bg:color_green"
|
||||
format = '[[($all_status$ahead_behind )](fg:color_yellow)]($style)'
|
||||
|
||||
# Language specific modules
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[dotnet]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[kotlin]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[python]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[gradle]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[scala]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
# Module that displays the docker context.
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
style = "bg:mono3"
|
||||
format = '[[ $symbol( $context) ](fg:syntax_fg bg:mono3)]($style)'
|
||||
|
||||
# Module that fills the space between the left and right segments.
|
||||
[fill]
|
||||
symbol = " "
|
||||
|
||||
# Module that displays the time.
|
||||
#[time]
|
||||
#disabled = false # Disabled by default
|
||||
#use_12hr = true # Disable for 24h format without seconds
|
||||
#style = "bg:mono4"
|
||||
#format = '[[ $time ](fg:syntax_fg bg:mono4)]($style)'
|
||||
|
||||
# Module that displays the battery level and status.
|
||||
[battery]
|
||||
format = '[$symbol $percentage ]($style)'
|
||||
|
||||
# Battery symbols and colors for each threshold.
|
||||
[[battery.display]]
|
||||
threshold = 10
|
||||
style = "bold bg:mono4 fg:color_red1"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 20
|
||||
style = "bold bg:mono4 fg:color_red0"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 30
|
||||
style = "bold bg:mono4 fg:color_yellow"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 40
|
||||
style = "bold bg:mono4 fg:color_yellow"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 50
|
||||
style = "bold bg:mono4 fg:color_yellow"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 60
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 70
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 80
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 90
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
threshold = 100
|
||||
|
||||
# New line character
|
||||
[character]
|
||||
success_symbol = "[λ:](bold fg:color_green)"
|
||||
error_symbol = "[λ:](bold fg:color_red1)"
|
||||
vimcmd_symbol = '[](bold fg:syntax_accent)'
|
||||
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue