heyjuvi / avizo

A neat notification daemon
GNU General Public License v3.0
436 stars 24 forks source link

Blur background #22

Open heyjuvi opened 2 years ago

heyjuvi commented 2 years ago

A blurred background would bei wonderful. Is this possible with Wayland + GTK+4?

yavko commented 2 years ago

A blurred background would bei wonderful. Is this possible with Wayland + GTK+4?

I'm pretty sure this would have to be done on the compositor's end, a wlroots compositor that supports this https://github.com/hyprwm/Hyprland

Eclextic commented 1 month ago

A blurred background would bei wonderful. Is this possible with Wayland + GTK+4?

I'm pretty sure this would have to be done on the compositor's end, a wlroots compositor that supports this https://github.com/hyprwm/Hyprland

It supports it in the sense that it supports it statically. If the layer stays, doesn't fade out, move, etc. then we could make it work, but it doesn't.

In Hyprland if you blur the layer rule for the OSD then when we fade out, the blur stays until the window is gone totally, after which the blur gets removed abruptly...

donovanglover commented 1 week ago

The blur issue happens with picom as well, not just Hyprland. Likely caused by the way avizo manages its window since other overlays like dunst aren't affected.

yavko commented 1 week ago

A blurred background would bei wonderful. Is this possible with Wayland + GTK+4?

I'm pretty sure this would have to be done on the compositor's end, a wlroots compositor that supports this https://github.com/hyprwm/Hyprland

It supports it in the sense that it supports it statically. If the layer stays, doesn't fade out, move, etc. then we could make it work, but it doesn't.

In Hyprland if you blur the layer rule for the OSD then when we fade out, the blur stays until the window is gone totally, after which the blur gets removed abruptly...

iirc Hyprland has layer animations, so using that would work

Eclextic commented 1 week ago

A blurred background would bei wonderful. Is this possible with Wayland + GTK+4?

I'm pretty sure this would have to be done on the compositor's end, a wlroots compositor that supports this https://github.com/hyprwm/Hyprland

It supports it in the sense that it supports it statically. If the layer stays, doesn't fade out, move, etc. then we could make it work, but it doesn't. In Hyprland if you blur the layer rule for the OSD then when we fade out, the blur stays until the window is gone totally, after which the blur gets removed abruptly...

iirc Hyprland has layer animations, so using that would work

Sure, but that doesn't solve the issue of the blur being removed AFTER the entire OSD and not WHILE the OSD is closing...