Separating modules in one bar goes wrong

It seems I have to create 3 bars if I want them with fancy shadows.

Try tweaking the compositing settings for polybar

; Compositing operators
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
1 Like