Skip to content

Instantly share code, notes, and snippets.

@notheotherben
Created November 11, 2021 15:28
Show Gist options
  • Save notheotherben/92302a60f8599ba73f1c2840f3c6d455 to your computer and use it in GitHub Desktop.
Save notheotherben/92302a60f8599ba73f1c2840f3c6d455 to your computer and use it in GitHub Desktop.
A Powerline configuration for Starship.rs
format = """
[\uE0B6](fg:#1C4961)[$directory](bg:#1C4961)[\uE0B0](fg:#1C4961 bg:#2F79A1)$git_branch[\uE0B0](fg:#2F79A1 bg:#3A95C7)$git_status[\uE0B0](#3A95C7 bg:#40A9E0)$time[\uE0B0](#40A9E0 bg:none) $all$character """
add_newline = true
[directory]
style = "bg:#1C4961 fg:white"
[git_branch]
format = "[ $symbol$branch ]($style)"
style = "bg:#2F79A1 fg:white"
[git_status]
format = "[ $all_status$ahead_behind ]($style)"
style = "bg:#3A95C7 fg:white"
[time]
disabled = false
format = "[ $time ]($style)"
style = "bg:#40A9E0 fg:white"
@alexlee85
Copy link

alexlee85 commented Apr 29, 2022

nice beautifull theme, tks!

@naveedn
Copy link

naveedn commented Aug 11, 2022

Can i see a picture of what this configuration looks like?

@thetrompf
Copy link

In my tweaked version of Solarized Dark color scheme, it looks like this:
image

@naveedn
Copy link

naveedn commented Aug 29, 2022

Thank you @thetrompf !

@juanr2001
Copy link

In my tweaked version of Solarized Dark color scheme, it looks like this: image

where is your tweak, do you mind sharing?

@thetrompf
Copy link

thetrompf commented Nov 27, 2024

Sorry I don't use starship anymore, I have migrated to oh-my-posh as I found it more configurable in terms of hiding empty segments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment