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 = ''
|
# template = ''
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
|
newline = true
|
||||||
alignment = "left"
|
alignment = "left"
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "#45F1C2"
|
foreground = "#45F1C2"
|
||||||
|
foreground_templates = [
|
||||||
|
"{{if .Root }}red{{end}}",
|
||||||
|
]
|
||||||
style = "plain"
|
style = "plain"
|
||||||
template = " {{ .UserName }} @ {{ .HostName }} "
|
template = " {{ .UserName }} "
|
||||||
|
type = "session"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#da5a96"
|
||||||
|
style = "plain"
|
||||||
|
template = "@ {{ .HostName }} "
|
||||||
type = "session"
|
type = "session"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
|
@ -31,7 +41,7 @@ type = "prompt"
|
||||||
style = "full"
|
style = "full"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "#14A5AE"
|
foreground = "#915ada"
|
||||||
powerline_symbol = ""
|
powerline_symbol = ""
|
||||||
style = "plain"
|
style = "plain"
|
||||||
# template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
# template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
||||||
|
@ -62,21 +72,17 @@ type = "text"
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
alignment = "left"
|
alignment = "left"
|
||||||
newline = true
|
type = "plain"
|
||||||
type = "prompt"
|
|
||||||
|
|
||||||
[transient_prompt]
|
[transient_prompt]
|
||||||
foreground_templates = ["green"]
|
|
||||||
newline = true
|
|
||||||
background = 'transparent'
|
background = 'transparent'
|
||||||
template = '>'
|
foreground = 'magenta'
|
||||||
# [transient_prompt]
|
template = ""
|
||||||
|
# template = '>'
|
||||||
# type = "status"
|
# type = "status"
|
||||||
# background = "transparent"
|
foreground_templates = [
|
||||||
# foreground_templates = [
|
"{{if gt .Code 0}}red{{end}}",
|
||||||
# "{{if gt .Code 0}}red{{end}}",
|
"{{if eq .Code 0}}green{{end}}",
|
||||||
# "{{if eq .Code 0}}green{{end}}",
|
]
|
||||||
# ]
|
|
||||||
# template = ""
|
|
||||||
# # foreground = "p:terminal-blue"
|
# # foreground = "p:terminal-blue"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue