fix(waybar): widen the battery icon-to-text gap when discharging

The discharging `format` put a single space between the icon span and
{capacity}%, but the battery-bar glyphs carry almost no right bearing,
so the state read cramped — while charging/plugged use glyphs with their
own spacing and looked fine. Widen only the discharging line to two
spaces across all four themes that ship their own bar (boreal,
summer-night, summer-day, executive-slate).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 18:28:35 +01:00
parent 907d3123ea
commit f848e7390f
4 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@
"interval": 60,
"states": { "warning": 30, "critical": 15 },
"max-length": 10,
"format": "<span size='13pt'>{icon}</span> {capacity}%",
"format": "<span size='13pt'>{icon}</span> {capacity}%",
"format-charging": "<span size='13pt'></span> {capacity}%",
"format-plugged": "<span size='13pt'></span> {capacity}%",
"format-full": " 100%",