p
This commit is contained in:
@ -81,7 +81,7 @@ in {
|
|||||||
charging_icon = "";
|
charging_icon = "";
|
||||||
discharging_icon = "";
|
discharging_icon = "";
|
||||||
};
|
};
|
||||||
template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}% {{ end }}";
|
template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}";
|
||||||
type = "battery";
|
type = "battery";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -95,7 +95,7 @@ in {
|
|||||||
style = "plain";
|
style = "plain";
|
||||||
foreground = "yellow";
|
foreground = "yellow";
|
||||||
background = "transparent";
|
background = "transparent";
|
||||||
template = " {{.FormattedMs}} ";
|
template = "{{.FormattedMs}}";
|
||||||
properties = {
|
properties = {
|
||||||
threshold = 5000;
|
threshold = 5000;
|
||||||
};
|
};
|
||||||
@ -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 = "-> ";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user