diff --git a/sim-web.toml b/sim-web.toml index be1bfd1..705f3ba 100644 --- a/sim-web.toml +++ b/sim-web.toml @@ -47,14 +47,17 @@ overflow = "break" folder_icon = "" folder_separator_icon = " ❯ " - [[blocks.segments]] - type = "git" - style = "powerline" - foreground = "#f14e32" - template = "({{ .HEAD }})" - - [blocks.segments.properties] - branch_icon = " " +[[blocks.segments]] +type = "git" +style = "plain" +foreground = "#1ea54c" +foreground_templates = [ + "{{ if or (.Working.Changed) (.Staging.Changed) }}#a51e42{{ end }}", + "{{ if and (gt .Ahead 0) (gt .Behind 0)}}#1e62a5{{ end }}", + "{{ if gt .Ahead 0 }}#e3dd47{{ end }}", + "{{ if gt .Behind 0 }}#1e62a5{{ end }}" +] +template = '({{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} {{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }})' [[blocks]] alignment = "left"