feat: prepare CSS to hide empty battery group (Waybar PR #4941)

This commit is contained in:
nevaforget committed 2026-04-08 17:01:19 +02:00
1 parent 3aff1b3438
commit a28b19c5d9
1 file changed
+13
+13
View File
@@ -114,6 +114,19 @@ widget widget>* {
color: #cc3436;
}
/* --- Battery group (hidden when empty, requires Waybar PR #4941) --- */
#bat.empty,
#bat.empty * {
min-width: 0;
min-height: 0;
padding: 0;
margin: 0;
border: none;
font-size: 0;
opacity: 0;
}
/* --- Battery --- */
#battery {