Waybar : Fix group paddings.
This commit is contained in:
parent
b9eaa1467d
commit
673a7ff83c
|
@ -3,11 +3,11 @@
|
|||
paddingH = "12px";
|
||||
in {
|
||||
# ISSUE: https://github.com/Alexays/Waybar/issues/3303
|
||||
# This way I am forced to apply the padding to children of each group
|
||||
# instead of the whole group.
|
||||
text = ''
|
||||
#batteryinfo,
|
||||
#clock,
|
||||
#custom-display,
|
||||
#hardware,
|
||||
#language,
|
||||
#mpris,
|
||||
#pulseaudio,
|
||||
|
@ -18,6 +18,16 @@ in {
|
|||
border-bottom: ${toString config.style.window.border}px solid transparent;
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#battery {
|
||||
padding-left: ${paddingH};
|
||||
}
|
||||
|
||||
#custom-powersave,
|
||||
#custom-powerlimit {
|
||||
padding-right: ${paddingH};
|
||||
}
|
||||
|
||||
#clock {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
|
||||
function widget() {
|
||||
status || echo -n ""
|
||||
status && printf '' || printf ''
|
||||
}
|
||||
|
||||
function status() {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
}
|
||||
|
||||
function widget() {
|
||||
status || echo -n ""
|
||||
status && printf '' || printf ''
|
||||
}
|
||||
|
||||
function status() {
|
||||
|
|
Loading…
Reference in a new issue