Centralized color management + minor tweaks and fixes
This commit is contained in:
parent
6f0fe77ed5
commit
787bb73379
6 changed files with 12 additions and 13 deletions
|
|
@ -392,7 +392,11 @@
|
|||
},
|
||||
"custom/battery_percentage": {
|
||||
"format": "<b>{}</b>",
|
||||
"exec": "cat /sys/class/power_supply/BAT*/capacity",
|
||||
//"exec": "cat /sys/class/power_supply/BAT*/capacity",
|
||||
|
||||
// Makes battery like if 85% was the maximum capacity (100%).
|
||||
// Useful for people that limit charge up to a certain percentage but like having real percentage
|
||||
"exec": "echo $(( $(cat /sys/class/power_supply/BAT*/capacity) * 100 / 85 ))",
|
||||
"interval": 10,
|
||||
"tooltip": false
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue