浏览代码

oh-my-posh: jujutsu

raylu 7 月之前
父节点
当前提交
1f35660221
共有 1 个文件被更改,包括 10 次插入0 次删除
  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
       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]]
     type = 'time'
     template = ' {{ .CurrentDate | date .Format }} '