(config) ags: again
This commit is contained in:
parent
b8a424dfbe
commit
f838661737
1 changed files with 3 additions and 3 deletions
|
@ -162,10 +162,10 @@ function Volume() {
|
||||||
|
|
||||||
function BatteryLabel() {
|
function BatteryLabel() {
|
||||||
const icons = {
|
const icons = {
|
||||||
75: "full",
|
80: "full",
|
||||||
50: "good",
|
50: "good",
|
||||||
25: "low",
|
30: "low",
|
||||||
0: "empty",
|
10: "empty",
|
||||||
};
|
};
|
||||||
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0);
|
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0);
|
||||||
// const icon = battery.bind("percent").as(p =>
|
// const icon = battery.bind("percent").as(p =>
|
||||||
|
|
Loading…
Reference in a new issue