Microwave-WYB / sway-bg-blur

Blur Sway background image when there's an focused window
GNU General Public License v3.0
1 stars 0 forks source link

per output blur #1

Open primalmotion opened 2 years ago

primalmotion commented 2 years ago

Hey! Thanks for this! Do you think we can add a per monitor blur? When using multi monitors, all outputs will get bluured/unblurred acording to where the mouse is, even if other outputs have clients.

Microwave-WYB commented 2 years ago

I think that's pretty doable. I'm actually gonna try implement this thing again with i3ipc when I'm free, but I'm so busy now lol.

primalmotion commented 2 years ago

I end up implementing it myself, moving to using i3ipc. It's actually quite a complete rewrite, so I'm not sure if you would be interestes in a PR. I still need to add a few things on the initial management of the wallpapers, but it seems the behavior works pretty well. I kept your trick of the multiple swaybg processes, since switching the background though IPC commands really looks ugly.

Let me know if you want me to open a PR