From 40af2fe664855fa0a8489084a2a893ffe7778173 Mon Sep 17 00:00:00 2001 From: bendn Date: Fri, 29 Dec 2023 15:38:12 +0700 Subject: [PATCH] fix(theme glowsticks): update battery and time symbols to non mdi- symbols which were removed --- themes/glowsticks.omp.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/glowsticks.omp.yaml b/themes/glowsticks.omp.yaml index 6c0ae5c4ea7f..8f49c7345e44 100644 --- a/themes/glowsticks.omp.yaml +++ b/themes/glowsticks.omp.yaml @@ -52,7 +52,7 @@ blocks: always_enabled: true style: round style: powerline - template: " 羽{{ .FormattedMs }} " + template: " 󰔟 {{ .FormattedMs }} " type: executiontime # Exit code @@ -88,10 +88,10 @@ blocks: charging_icon:  discharging_icon: " " style: diamond - template: " {{.Templates }}{{ .Percentage}} " + template: " {{.Templates }} {{ .Percentage}} " templates: - - '{{if eq "Discharging" .State.String}}{{if lt .Percentage 11}}{{else if lt .Percentage 21}}{{else if lt .Percentage 31}}{{else if lt .Percentage 41}}{{else if lt .Percentage 51}}{{else if lt .Percentage 61}}{{else if lt .Percentage 71}}{{else if lt .Percentage 81}}{{else if lt .Percentage 91}}{{else}}{{end}}{{end}}' - - '{{if eq "Charging" .State.String}}{{ if lt .Percentage 21}}{{else if lt .Percentage 31}}{{else if lt .Percentage 41}}{{else if lt .Percentage 61}}{{else if lt .Percentage 81}}{{else if lt .Percentage 91}}{{else}}{{end}}{{end}}' + - '{{if eq "Discharging" .State.String}}{{if lt .Percentage 11}}󰁺{{else if lt .Percentage 21}}󰁻{{else if lt .Percentage 31}}󰁼{{else if lt .Percentage 41}}󰁽{{else if lt .Percentage 51}}󰁾{{else if lt .Percentage 61}}󰁿{{else if lt .Percentage 71}}󰂀{{else if lt .Percentage 81}}󰂁{{else if lt .Percentage 91}}󰂂{{else}}󰁹{{end}}{{end}}' + - '{{if eq "Charging" .State.String}}{{if lt .Percentage 11}}󰢜{{else if lt .Percentage 21}}󰂆{{else if lt .Percentage 31}}󰂇{{else if lt .Percentage 41}}󰂈{{else if lt .Percentage 51}}󰢝{{else if lt .Percentage 61}}󰂉{{else if lt .Percentage 71}}󰢞{{else if lt .Percentage 81}}󰂊{{else if lt .Percentage 91}}󰂋{{else}}󰂄{{end}}{{end}}' templates_logic: first_match type: battery