This commit is contained in:
unexplrd
2025-03-11 18:41:53 +02:00
parent c8faedb86b
commit bedc098445

View File

@ -110,7 +110,7 @@ in {
{ {
type = "text"; type = "text";
style = "plain"; style = "plain";
foreground_templates = ["{{if gt .Code 0}}red{{end}}" "{{if eq .Code 0}}cyan{{end}}"]; foreground_templates = ["{{if gt .Code 0}}red{{end}}" "{{if eq .Code 0}}magenta{{end}}"];
background = "transparent"; background = "transparent";
template = ">"; template = ">";
} }
@ -118,12 +118,12 @@ in {
} }
]; ];
transient_prompt = { transient_prompt = {
foreground_templates = ["{{if gt .Code 0}}red{{end}}" "{{if eq .Code 0}}cyan{{end}}"]; foreground_templates = ["{{if gt .Code 0}}red{{end}}" "{{if eq .Code 0}}magenta{{end}}"];
background = "transparent"; background = "transparent";
template = "> "; template = "> ";
}; };
secondary_prompt = { secondary_prompt = {
foreground = "cyan"; foreground = "magenta";
background = "transparent"; background = "transparent";
template = "-> "; template = "-> ";
}; };