yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.13k stars 589 forks source link

Feature Request: Blur Rules #919

Open SIMULATAN opened 1 year ago

SIMULATAN commented 1 year ago

Description

It would be great to have something like opacity-rule but for the blur strength.

Example use case

Applications that take up a lot of screen space, like your Browser or Terminal, look good with a bigger blur radius than something rather small, like dunst.

With blur-strength set to, say, 6, decently sized applications look nicely blurred, but the background is still fairly recognizable, whilst the background of a dunst notification is pretty much exclusively a single color.

dsambrano commented 1 year ago

Adding support for this feature!

I currently have an opacity rule, for when my terminal is active vs inactive. When it is inactivate it is pretty transparent, and I would love to remove the blur during those scenarios as well!

XoDefender commented 7 months ago

Have this feature. Could check my fork (https://github.com/XoDefender/picom), search for all blur rules in "Background-Blurring" section in picom.sample.conf

yshui commented 7 months ago

@XoDefender can you open a PR?