From bedc098445495f526f3b8c4c2dbcfb54cf9b3d11 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Tue, 11 Mar 2025 18:41:53 +0200 Subject: [PATCH] p --- modules/home/programs/shell/oh-my-posh.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/home/programs/shell/oh-my-posh.nix b/modules/home/programs/shell/oh-my-posh.nix index 90aa91c..caae77c 100644 --- a/modules/home/programs/shell/oh-my-posh.nix +++ b/modules/home/programs/shell/oh-my-posh.nix @@ -81,7 +81,7 @@ in { charging_icon = "󱟡"; discharging_icon = "󱟟"; }; - template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}% {{ end }}"; + template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}"; type = "battery"; } ]; @@ -95,7 +95,7 @@ in { style = "plain"; foreground = "yellow"; background = "transparent"; - template = " {{.FormattedMs}} "; + template = "{{.FormattedMs}}"; properties = { threshold = 5000; }; @@ -110,7 +110,7 @@ in { { type = "text"; 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"; template = ">"; } @@ -118,12 +118,12 @@ in { } ]; 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"; template = "> "; }; secondary_prompt = { - foreground = "cyan"; + foreground = "magenta"; background = "transparent"; template = "-> "; };