Просмотр исходного кода

oh-my-posh: rework first segment to always show

raylu 3 месяцев назад
Родитель
Сommit
82d57f3aff
1 измененных файлов с 1 добавлено и 8 удалено
  1. 1 8
      config/oh-my-posh.toml

+ 1 - 8
config/oh-my-posh.toml

@@ -10,13 +10,6 @@ final_space = true
   alignment = 'left'
   newline = true
 
-  [[blocks.segments]]
-    template = ' {{ if .WSL }} {{ end }}'
-    foreground = '#efdcf9'
-    background = '#0e050f'
-    type = 'os'
-    style = 'diamond'
-
   [[blocks.segments]]
     template = ' {{ if .SSHSession }} {{ .HostName }}{{ end }}{{ if .Root }} root{{ end }}'
     foreground = '#efdcf9'
@@ -24,7 +17,7 @@ final_space = true
     background = '#0e050f'
     background_templates = ['{{ if and (not .Root) .SSHSession }}#a060e3{{ end }}']
     type = 'session'
-    style = 'diamond'
+    style = 'accordion'
 
   [[blocks.segments]]
     type = 'path'