feat: prepare CSS to hide empty battery group (Waybar PR #4941)
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 3s
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 3s
This commit is contained in:
parent
6d3a7c8d72
commit
d815e21b1d
@ -114,6 +114,19 @@ widget widget>* {
|
|||||||
color: #cc3436;
|
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 --- */
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user