amro finished

This commit is contained in:
pika 2024-08-17 16:55:22 +02:00
parent 82133437ab
commit c2d4d25159

View file

@ -11,13 +11,23 @@ version = 2
# template = ''
[[blocks]]
newline = true
alignment = "left"
type = "prompt"
[[blocks.segments]]
foreground = "#45F1C2"
foreground_templates = [
"{{if .Root }}red{{end}}",
]
style = "plain"
template = " {{ .UserName }} @  {{ .HostName }} "
template = " {{ .UserName }} "
type = "session"
[[blocks.segments]]
foreground = "#da5a96"
style = "plain"
template = "@  {{ .HostName }} "
type = "session"
[[blocks.segments]]
@ -31,7 +41,7 @@ type = "prompt"
style = "full"
[[blocks.segments]]
foreground = "#14A5AE"
foreground = "#915ada"
powerline_symbol = ""
style = "plain"
# template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} "
@ -62,21 +72,17 @@ type = "text"
[[blocks]]
alignment = "left"
newline = true
type = "prompt"
type = "plain"
[transient_prompt]
foreground_templates = ["green"]
newline = true
background = 'transparent'
template = '>'
# [transient_prompt]
foreground = 'magenta'
template = ""
# template = '>'
# type = "status"
# background = "transparent"
# foreground_templates = [
# "{{if gt .Code 0}}red{{end}}",
# "{{if eq .Code 0}}green{{end}}",
# ]
# template = ""
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}green{{end}}",
]
# # foreground = "p:terminal-blue"