(config) ags: oops

This commit is contained in:
Sakooooo 2024-10-16 15:32:51 +04:00
parent f838661737
commit 5dc2e47942
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -174,7 +174,7 @@ function BatteryLabel() {
const percent = battery.bind("percent").as(x => x.toString()) + "%";
function getIcon() {
const icon = [100, 50, 25, 0].find(threshold => threshold <= battery.percent);
const icon = [100, 50, 30, 10].find(threshold => threshold <= battery.percent);
return `battery-${icons[icon]}-symbolic`;
}