diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 7dd065d..046069c 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -20,7 +20,7 @@ $bar-module-border-radius: 8px; // Global Styles .bar { font-size: 1em; - padding: 10px 0px; + padding: 10px 0px 0px; margin: 0px 15px; //bar groups diff --git a/de/home/.config/eww/modules/bar.yuck b/de/home/.config/eww/modules/bar.yuck index 184c887..b0beb9f 100644 --- a/de/home/.config/eww/modules/bar.yuck +++ b/de/home/.config/eww/modules/bar.yuck @@ -42,8 +42,9 @@ ; ))) (defwidget centergroup [] - (box :class "centergroup" :orientation "h" :space-evenly false :halign "start" - (music))) + (box :visible {nowplaying != ""} + :class "centergroup" :orientation "h" :space-evenly false :halign "start" + (music))) (defwidget rightgroup [] (box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"