Skip to content

Commit

Permalink
chore(fix icons): NerdFont v3.0.0 broke some icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
KGB33 committed May 6, 2023
1 parent 321724a commit c582814
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .config/eww/eww.yuck
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@
:visible "${EWW_BATTERY != ''}"
"${EWW_BATTERY['total_avg']}%"
(icon-module :icon {
EWW_BATTERY['BAT1']['status'] == 'Charging' ? '' :
EWW_BATTERY['total_avg'] <= 10 ? "" :
EWW_BATTERY['total_avg'] <= 20 ? "" :
EWW_BATTERY['total_avg'] <= 30 ? "" :
EWW_BATTERY['total_avg'] <= 40 ? "" :
EWW_BATTERY['total_avg'] <= 50 ? "" :
EWW_BATTERY['total_avg'] <= 60 ? "" :
EWW_BATTERY['total_avg'] <= 70 ? "" :
EWW_BATTERY['total_avg'] <= 80 ? "" :
EWW_BATTERY['total_avg'] <= 90 ? "" : ""
EWW_BATTERY['BAT1']['status'] == 'Charging' ? '󰂄' :
EWW_BATTERY['total_avg'] <= 10 ? "󰁺" :
EWW_BATTERY['total_avg'] <= 20 ? "󰁻" :
EWW_BATTERY['total_avg'] <= 30 ? "󰁼" :
EWW_BATTERY['total_avg'] <= 40 ? "󰁽" :
EWW_BATTERY['total_avg'] <= 50 ? "󰁾" :
EWW_BATTERY['total_avg'] <= 60 ? "󰁿" :
EWW_BATTERY['total_avg'] <= 70 ? "󰂀" :
EWW_BATTERY['total_avg'] <= 80 ? "󰂁" :
EWW_BATTERY['total_avg'] <= 90 ? "󰂂" : "󰁹"
}
:class {
EWW_BATTERY['BAT1']['status'] == 'Charging' ? 'battery-charging' :
Expand Down

0 comments on commit c582814

Please sign in to comment.