Don't draw wallpaper behind/under bar in sway?
from iiGxC@slrpnk.net to linux@lemmy.ml on 08 Jun 20:04
https://slrpnk.net/post/10341504

I have waybar set to be on the right side of my screen, but the wallpaper goes “under” it, such that if I have two windows open, the center of the wallpaper isn’t in the center of the gaps between the windows, if that makes sense.

I’d like it so that the center of the wallpaper is in the center of the gaps between two windows. Or in other words, so that the wallpaper goes from the left edge of the screen to the left edge of the bar, so the bar just has a static color bg.

Does anyone know how to do that?

#linux

threaded - newest

Max_P@lemmy.max-p.me on 08 Jun 20:08 collapse

Just bake it into the wallpaper.

Open the wallpaper in your favorite image editor, crop it to the exact placement you want, add the colored border where you want it and save it into an image of the exact size of your monitor resolution so it doesn’t get scaled in any way.

If you have too many wallpapers, you can also automate it with ImageMagick and a bash for loop.

iiGxC@slrpnk.net on 08 Jun 20:43 collapse

Hmm, the problem is I have multiple sizes of monitors. I suppose I could do that for each monitor instead of just applying it to the wildcard monitor