emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.17k stars 137 forks source link

Is there a way to only blur the background of the notification and not the margin/padding? #501

Closed carschandler closed 6 months ago

carschandler commented 6 months ago

I'm using Hyprland as my compositor, which enables blurring certain windows or layers (the notifications layer is what targets mako's notifications). As you can see, the entire section is being blurred, when I'd like for only the background to be. I figure this because mako is actually opening a window occupying the entire space of the margin and padding but that part is just invisible. It would be awesome if there were a way to only blur the background! Thanks.

image

emersion commented 6 months ago

There is no standard Wayland protocol for blur at the moment. Even if there was, I don't think blur support is in scope for mako.

emersion commented 6 months ago

BTW, the fact that there is a blur effect at all is a unilateral decision of the compositor. mako is not involved here.

carschandler commented 6 months ago

Yeah I understand, I just thought that mako is probably defining what Hyprland interprets the area of the "layer" to be, which seems to be the snag here. I understand that blur itself is a very niche issue and isn't in scope for mako. Thanks for the replies!