From ab17c1ce64270eca3de94a448309fc1bc476dae8 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Mon, 7 Apr 2025 12:41:24 +0300 Subject: [PATCH] modules/home/programs/shell/oh-my-posh.nix: lil gup Signed-off-by: unexplrd --- modules/home/programs/shell/oh-my-posh.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/home/programs/shell/oh-my-posh.nix b/modules/home/programs/shell/oh-my-posh.nix index 77d6214..a4c9db6 100644 --- a/modules/home/programs/shell/oh-my-posh.nix +++ b/modules/home/programs/shell/oh-my-posh.nix @@ -2,8 +2,8 @@ config, lib, ... -}: -with lib; let +}: let + inherit (lib) mkIf mkEnableOption; cfg = config.shell.oh-my-posh; in { options = { @@ -69,7 +69,7 @@ in { style = "plain"; foreground = "white"; background = "transparent"; - template = "{{ if .SSHSession }} {{ .UserName }}@{{ .HostName }} {{ end }}"; + template = "{{ if .SSHSession }} {{ .UserName }}@{{ .HostName }}{{ end }}"; } { style = "plain"; @@ -80,7 +80,7 @@ in { charging_icon = "󱟡"; discharging_icon = "󱟟"; }; - template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}"; + template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}"; type = "battery"; } ];