[solved] picom blurs maim!

Cpt Chuckles

New Member
Joined
Mar 17, 2020
Messages
18
Reaction score
8
Credits
147
I just recently discovered maim, a more updated and better-looking replacement for scrot. The problem I'm having is that maim overlays my entire screen in order to do its thing, which gets caught by picom, my compositor, and I have background-blur enabled for transparent windows, so maim opening up blurs everything, making screenshots completely useless! So I guess this is mainly a picom question.

I'm trying to put some rules in my picom.conf like this, but these options haven't worked:
Code:
blur-background-exclude = [
  "window_type = 'dock'",
  "class_g ~= 'maim'",
  "class_i ~= 'maim'",
  "name ~= 'maim'",
  "window_type = 'desktop'",
  "_GTK_FRAME_EXTENTS@:c"
];
Normally I would run xprop to find out how to identify the window, but I haven't been able to successfully capture any of maim's properties due to the fact that while maim is open I'm unable to use my terminal to launch xprop...! I tried looking through maim's source code to see if i can identify where the name is, and it seems like it should just be named "maim" but that exclusion rule isn't working in picom.

anybody else use picom & maim together?
 


I kept putting off figuring this out for months because I thought it would take too long to find a solution. I ended up finding yours in 10 seconds with a quick ddg search. Thanks!
I absolutely love it that a forum post that, apparently, no one else cared about five years ago has saved someone a ton of frustration today. I have no idea what "maim" is or does, but this is the sort of thing we're here for.
 



Latest posts

Top