amro finished
This commit is contained in:
parent
82133437ab
commit
c2d4d25159
1 changed files with 20 additions and 14 deletions
34
amro.toml
34
amro.toml
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue