picom: exclude utility windows from opacity

That's what Firefox is using for some menus.
This commit is contained in:
Vincent Bernat 2021-07-11 08:51:28 +02:00
parent f3a0a870b1
commit 5426dcefdc

View file

@ -4,6 +4,8 @@ mark-ovredir-focused = true;
use-ewmh-active-win = true;
# Opacity rules (first rule match)
# Cannot use override-redirect:
# https://github.com/yshui/picom/issues/625
opacity-rule = [
"100:fullscreen",
"100:name = 'Zoom Meeting'",
@ -11,6 +13,7 @@ opacity-rule = [
"100:window_type = 'popup_menu'",
"100:window_type = 'dropdown_menu'",
"100:window_type = 'menu'",
"100:window_type = 'utility'",
"100:window_type = 'dock'",
"85:!focused"
];