Created
March 25, 2023 20:59
-
-
Save gotjoshua/fa77c43fd4468a400bf85b3b54232d18 to your computer and use it in GitHub Desktop.
a two line, extras on the right, paletted variation of https://starship.rs/presets/#pastel-powerline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
right_format = """ | |
[](fg:tooling_hex bg:none)\ | |
$c\ | |
$elixir\ | |
$elm\ | |
$golang\ | |
$gradle\ | |
$haskell\ | |
$java\ | |
$julia\ | |
$nodejs\ | |
$nim\ | |
$rust\ | |
$scala\ | |
[](fg:tooling_hex bg:none) \ | |
$nix_shell\ | |
""" | |
format = """ | |
[](user_os_hex)\ | |
$os\ | |
$username\ | |
[](bg:path_hex fg:user_os_hex)\ | |
$directory\ | |
[](fg:path_hex bg:git_hex)\ | |
$git_branch\ | |
$git_status\ | |
[](fg:git_hex bg:tooling_hex)\ | |
[](fg:tooling_hex bg:endcap_hex)\ | |
[](fg:endcap_hex bg:none)\ | |
\n [](fg:time_hex)\ | |
$time\ | |
[ ](fg:time_hex)\ | |
""" | |
# blank line at the start of the prompt | |
add_newline = true | |
palette = 'pastel' | |
# Define custom colors | |
[palettes.pastel] | |
user_os_hex = '#9A348E' | |
tooling_hex = '#86BBD8' | |
path_hex = '#DA627D' | |
git_hex = '#FCA17D' | |
time_hex = '#33658A' | |
endcap_hex = '#06969A' | |
# You can also replace your username with a neat symbol like or disable this | |
# and use the os module below | |
[username] | |
show_always = true | |
style_user = "bg:user_os_hex" | |
style_root = "bg:user_os_hex" | |
format = '[$user ]($style)' | |
disabled = false | |
# An alternative to the username module which displays a symbol that | |
# represents the current operating system | |
[os] | |
style = "bg:user_os_hex" | |
disabled = true # Disabled by default | |
[directory] | |
style = "bg:path_hex" | |
format = "[ $path ]($style)" | |
truncation_length = 3 | |
truncation_symbol = "…/" | |
# Here is how you can shorten some long paths by text replacement | |
# similar to mapped_locations in Oh My Posh: | |
[directory.substitutions] | |
"Documents" = " " | |
"Downloads" = " " | |
"Music" = " " | |
"Pictures" = " " | |
# Keep in mind that the order matters. For example: | |
# "Important Documents" = " " | |
# will not be replaced, because "Documents" was already substituted before. | |
# So either put "Important Documents" before "Documents" or use the substituted version: | |
# "Important " = " " | |
[c] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[docker_context] | |
disabled = false | |
symbol = " " | |
style = "bg:endcap_hex" | |
format = '[ $symbol $context ]($style) $path' | |
[elixir] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[elm] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[git_branch] | |
symbol = "" | |
style = "bg:git_hex" | |
format = '[ $symbol $branch ]($style)' | |
[git_status] | |
style = "bg:git_hex" | |
format = '[$all_status$ahead_behind ]($style)' | |
[golang] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[gradle] | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[haskell] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[java] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[julia] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[nodejs] | |
symbol = "" | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[nim] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[rust] | |
symbol = "" | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[scala] | |
symbol = " " | |
style = "bg:tooling" | |
format = '[ $symbol ($version) ]($style)' | |
[time] | |
disabled = false | |
time_format = "%R" # Hour:Minute Format | |
style = "bg:time_hex" | |
format = '[ $time ]($style)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is an early draft...
see PR for up to date version