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";
|
||||
xrender-sync-fence = true;
|
||||
vsync = true;
|
||||
|
||||
# Detect focus
|
||||
mark-ovredir-focused = true;
|
||||
focus-exclude = [
|
||||
"fullscreen"
|
||||
];
|
||||
use-ewmh-active-win = true;
|
||||
|
||||
# Opacity rules
|
||||
inactive-opacity = 0.85;
|
||||
inactive-opacity-override = true;
|
||||
wintypes:
|
||||
{
|
||||
popup_menu = { opacity = 1; }
|
||||
dropdown_menu = { opacity = 1; }
|
||||
menu = { opacity = 1; }
|
||||
}
|
||||
# Opacity rules (first rule match)
|
||||
opacity-rule = [
|
||||
"100:fullscreen",
|
||||
"100:name = 'Zoom Meeting'",
|
||||
"100:window_type = 'popup_menu'",
|
||||
"100:window_type = 'dropdown_menu'",
|
||||
"100:window_type = 'menu'",
|
||||
"85:!focused"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue