Icons: more icons
This commit is contained in:
parent
c77784b5c1
commit
ccdb4e0664
14 changed files with 27 additions and 39 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue