mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 10:18:34 +02:00
picom: simplify configuration by using only opacity-rules
Otherwise, the interactions with inactive-opacity and wintypes are not well-documented.
This commit is contained in:
parent
28fc208332
commit
5a09a90944
1 changed files with 9 additions and 14 deletions
|
@ -1,20 +1,15 @@
|
||||||
backend = "glx";
|
backend = "glx";
|
||||||
xrender-sync-fence = true;
|
xrender-sync-fence = true;
|
||||||
vsync = true;
|
vsync = true;
|
||||||
|
|
||||||
# Detect focus
|
|
||||||
mark-ovredir-focused = true;
|
mark-ovredir-focused = true;
|
||||||
focus-exclude = [
|
|
||||||
"fullscreen"
|
|
||||||
];
|
|
||||||
use-ewmh-active-win = true;
|
use-ewmh-active-win = true;
|
||||||
|
|
||||||
# Opacity rules
|
# Opacity rules (first rule match)
|
||||||
inactive-opacity = 0.85;
|
opacity-rule = [
|
||||||
inactive-opacity-override = true;
|
"100:fullscreen",
|
||||||
wintypes:
|
"100:name = 'Zoom Meeting'",
|
||||||
{
|
"100:window_type = 'popup_menu'",
|
||||||
popup_menu = { opacity = 1; }
|
"100:window_type = 'dropdown_menu'",
|
||||||
dropdown_menu = { opacity = 1; }
|
"100:window_type = 'menu'",
|
||||||
menu = { opacity = 1; }
|
"85:!focused"
|
||||||
}
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue