yshui / picom

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

Ignore blur for some windows #545

Closed IkaSek closed 3 years ago

IkaSek commented 3 years ago

I just want to know, is it possible, i wanna use discover overlay but it just blurs out some parts of the screen.

kdarkhan commented 3 years ago

What you want is blur-background-exclude config. I don't have discover-overlay installed so you will need to find how to specify it yourself. The list is a comma separated. Here is what I have in my ~/.config/picom.conf for example.

blur-background-exclude = [
  "window_type = 'dock'",
  "window_type = 'mpv'",
  "name = 'conky'",
  "name = 'mpv'",
  "class_g = 'zoom'",
  "window_type = 'desktop'",
  "window_type = 'utility'"
];
tryone144 commented 3 years ago

This should work for discover-overlay:

blur-background-exclude = [
  "class_g = 'Discover-overlay'",
];
IkaSek commented 3 years ago

Thanks alot tryone, for both the tryone fork and your answer!