Ver código fonte

oh-my-posh: jujutsu

raylu 7 meses atrás
pai
commit
1f35660221
1 arquivos alterados com 10 adições e 0 exclusões
  1. 10 0
      config/oh-my-posh.toml

+ 10 - 0
config/oh-my-posh.toml

@@ -56,6 +56,16 @@ final_space = true
       fetch_upstream_icon = true
       fetch_upstream_icon = true
       untracked_modes = {'*' = 'no'}
       untracked_modes = {'*' = 'no'}
 
 
+  [[blocks.segments]]
+    type = 'jujutsu'
+    template = ' 󱗆 {{.ChangeID}}{{if .Working.Changed}}  {{ .Working.String }}{{ end }} '
+    foreground = '#efdcf9'
+    background = '#341948'
+    style = 'powerline'
+    powerline_symbol = ''
+    [blocks.segments.properties]
+      fetch_status = true
+
   [[blocks.segments]]
   [[blocks.segments]]
     type = 'time'
     type = 'time'
     template = ' {{ .CurrentDate | date .Format }} '
     template = ' {{ .CurrentDate | date .Format }} '