Use battery icons from Material Symbols font

This commit is contained in:
ItsDrike 2023-01-29 15:40:24 +01:00
parent 2a4dbd98db
commit adb438f050
No known key found for this signature in database
GPG key ID: B014E761034AF742
2 changed files with 10 additions and 1 deletions

View file

@ -15,6 +15,15 @@
// }
.battery {
.icon, .icon label {
font-family: "Material Symbols Outlined";
.extra, .extra label {
font-family: "Font Awesome 6 Free";
}
}
.critical {
.unplugged {
color: #f00;

View file

@ -7,7 +7,7 @@ source "./scripts/include"
# devices (in /sys/class/power_supply/) i.e. BATTERY=BAT0 ADAPTER=ADP0
# or, if left unset, they will be automatically picked.
CAPACITY_ICONS=("" "" "" "" "")
CAPACITY_ICONS=("󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹")
CHARGING_ICON=""
DISCHARGING_ICON=""
FULL_ICON="" # Plugged in, but no longer charging (fully charged)