yilozt / mutter-rounded

A window manager for GNOME, with rounded corners patch
https://aur.archlinux.org/packages/mutter-rounded/
GNU General Public License v2.0
556 stars 26 forks source link

blur partial window #21

Open rinmyo opened 2 years ago

rinmyo commented 2 years ago

Is it possible to blur some specific parts only of a window. like 'title bar', ' places area of nautilus', or more particular condition like "all areas whose opacity less than 1"

yilozt commented 2 years ago

It's a little hard to implement. the blur effect is just add a blur layer behind window, and simply change the opacity of window.A feasible way is to change opacity of title bar by editing css of gtk theme by yourself, and add window to blur list.

Microwave-WYB commented 2 years ago

Try to look for GTK themes that provide transparent components. For example WhiteSur has transparent favorite bar for nautilus, you can use the theme and set opacity to blurred windows to 1 so titlebar and other components won't be transparent

pushqrdx commented 2 years ago

Like alpha blurring in compiz, that would do the trick. Though it can be chaotic with fading animations etc, that's why KWin for instance uses a blur atom on surfaces that want to be blurred