jbuchermn / newm

Wayland compositor
MIT License
958 stars 31 forks source link

Possible to dynamically change unfocused windows' opacity? #139

Open x0rzavi opened 1 year ago

x0rzavi commented 1 year ago

My particular use case is to only keep the currently focused window fully opaque, while those being unfocused to be blurred and translucent. One way to do it seems like to check the view.is_focused every so often, but that will incur performance penalties too ig? Also, unfortunately Idk how to implement it.

jbuchermn commented 1 year ago

That's a nice idea, I think this would be something quite common.

When I find some time, I'll look into it, implementation should not be very difficult.