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