Skip to content

Commit

Permalink
fix: update battery and time symbols to non mdi- symbols which were r…
Browse files Browse the repository at this point in the history
…emoved
  • Loading branch information
bend-n committed Dec 29, 2023
1 parent a8a0077 commit 92b70de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/glowsticks.omp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ blocks:
always_enabled: true
style: round
style: powerline
template: " {{ .FormattedMs }} "
template: " 󰔟 {{ .FormattedMs }} "
type: executiontime

# Exit code
Expand Down Expand Up @@ -88,10 +88,10 @@ blocks:
charging_icon:
discharging_icon: ""
style: diamond
template: " {{.Templates }}{{ .Percentage}}<transparent></>"
template: " {{.Templates }} {{ .Percentage}}<transparent> </>"
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

Expand Down

0 comments on commit 92b70de

Please sign in to comment.