fixed user icons

This commit is contained in:
pika 2025-03-21 21:06:18 +01:00
parent 866111e4f8
commit fee4826bb0

View file

@ -18,11 +18,15 @@ type = "prompt"
[[blocks.segments]] [[blocks.segments]]
background = "#2e2e4e" # Muted indigo blue background = "#2e2e4e" # Muted indigo blue
foreground = "#e8e8e8" foreground = "green"
leading_diamond = "╭─" leading_diamond = "╭─"
style = "diamond" style = "diamond"
template = " {{ if .WSL }}WSL󰁥 {{ end }}{{.Icon}} " type = "session"
type = "os" template = '{{ .UserName }}{{if .SSHSession }}@{{ .HostName }}{{ end }}'
background_templates = ['{{if .SSHSession }}#e04e29{{end}}']
# template = " {{ if .WSL }}WSL󰁥 {{ end }}{{.Icon}} "
# type = "os"
[[blocks.segments]] [[blocks.segments]]
background = "#4b3d7d" # Deep muted indigo/violet background = "#4b3d7d" # Deep muted indigo/violet
@ -181,36 +185,36 @@ type = "prompt"
[blocks.segments.properties] [blocks.segments.properties]
always_enabled = true always_enabled = true
[[blocks.segments]] # [[blocks.segments]]
template = '{{ .UserName }}' # template = '{{ .UserName }}'
foreground = '#629a55' # foreground = '#629a55'
# invert_powerline = false # # invert_powerline = false
# powerline_symbol = "" # # powerline_symbol = ""
type = 'session' # type = 'session'
style = 'powerline' # style = 'powerline'
foreground_templates = ['{{if .SSHSession }}#e04e29{{end}}'] # foreground_templates = ['{{if .SSHSession }}#e04e29{{end}}']
#
[blocks.segments.properties] # [blocks.segments.properties]
cache_duration = 'none' # cache_duration = 'none'
#
[[blocks.segments]] # [[blocks.segments]]
template = '@' # template = '@'
foreground = '#629a55' # foreground = '#629a55'
type = 'session' # type = 'session'
foreground_templates = ['{{if .SSHSession }}#e04e29{{end}}'] # foreground_templates = ['{{if .SSHSession }}#e04e29{{end}}']
#
[blocks.segments.properties] # [blocks.segments.properties]
cache_duration = 'none' # cache_duration = 'none'
#
[[blocks.segments]] # [[blocks.segments]]
template = '{{ .HostName }}' # template = '{{ .HostName }}'
foreground = '#629a55' # foreground = '#629a55'
type = 'session' # type = 'session'
style = 'powerline' # style = 'powerline'
foreground_templates = ['{{if .SSHSession }}#e04e29{{end}}'] # foreground_templates = ['{{if .SSHSession }}#e04e29{{end}}']
#
[blocks.segments.properties] # [blocks.segments.properties]
cache_duration = 'none' # cache_duration = 'none'
# [[blocks.segments]] # [[blocks.segments]]
# invert_powerline = true # invert_powerline = true