chore: add basic battery config

This commit is contained in:
2026-08-23 14:05:25 +02:00
parent a43d446f2c
commit f484f5a2c8
3 changed files with 48 additions and 4 deletions
+44
View File
@@ -138,6 +138,50 @@
]
}
},
"battery":{
"states": {
"95": 100,
"85": 90,
"75": 80,
"65": 70,
"55": 60,
"45": 50,
"35": 40,
"25": 30,
"15": 20,
"5": 10,
"critical": 0,
},
"format":" {capacity}",
"format-95": " {capacity}",
"format-85": " {capacity}",
"format-75": " {capacity}",
"format-65": " {capacity}",
"format-55": " {capacity}",
"format-45": " {capacity}",
"format-35": " {capacity}",
"format-25": " {capacity}",
"format-15": " {capacity}",
"format-15": " {capacity}",
"format-critical": " {capacity}",
"format-charging":" {capacity}",
"format-plugged": " ",
"format-full": " 100",
"format-empty": " ({capacity}%)",
"tooltip-format":"<big>Battery</big>\nCurrently {timeTo}\nCurrently drawing: {power}W\nBattery status: {capacity}%"
},
"backlight": {
"stages": {
"high": 50,
"low": 0,
},
"format": "🌣 {percent}",
"format-high": " {percent}",
"format-low": " {percent}",
"tooltip-format": "<big>Brightness</big>\n🌣 {percent}",
"on-scroll-up": "light -A 1",
"on-scroll-down": "light -U 1"
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": "\uf130 {volume}",