feat: transient prompt addet

This commit is contained in:
pika 2025-03-20 11:00:47 +01:00
parent cd9945a4e6
commit 5eaf571161

View file

@ -3,8 +3,15 @@ console_title_template = "{{ .Shell }} in {{ .Folder }}"
final_space = true
version = 3
[transient_prompt]
template = ''
background = 'transparent'
type = 'status'
foreground_templates = ['{{if gt .Code 0}}terminal-red{{end}}', '{{if eq .Code 0}}p:pistachio-green{{end}}']
[[blocks]]
alignment = "left"
newline = true
type = "prompt"
[[blocks.segments]]