1
0
Эх сурвалжийг харах

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

raylu 3 сар өмнө
parent
commit
82d57f3aff

+ 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'