Centralized color management + minor tweaks and fixes

This commit is contained in:
Gu://em_ 2025-09-10 13:36:39 +02:00
parent 6f0fe77ed5
commit 787bb73379
6 changed files with 12 additions and 13 deletions

View file

@ -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
},