Icons: more icons

This commit is contained in:
LemmyCook 2025-09-08 21:37:01 -04:00
parent c77784b5c1
commit ccdb4e0664
14 changed files with 27 additions and 39 deletions

View file

@ -2,6 +2,7 @@ pragma Singleton
import Quickshell
import Quickshell.Services.UPower
import qs.Commons
import qs.Services
Singleton {
@ -10,7 +11,7 @@ Singleton {
// Choose icon based on charge and charging state
function getIcon(percent, charging, isReady) {
if (!isReady) {
return Bootstrap.icons["battery"] // FIXME: find battery error ?
return Bootstrap.icons["exclamation-diamond"]
}
if (charging) {