- Optionally detect shaped windows using X Shape extension and disable shadow on them with --shadow-ignore-shaped. - Some windows are bounding-shaped just to support rounded corners, like Chromium windows (when system titlebar is disabled in its settings). Add --detect-rounded-corners to treat them as non-shaped windows (thus enable shadow on them). The algorithm I use is not perfect and wrong detection results are pretty possible to appear. - Many windows don't use X Shape extensions to add shapes but use ARGB background instead. These windows could only be blacklisted with --shadow-blacklist. - Rename a few functions. Code clean up.
40 lines
773 B
Plaintext
40 lines
773 B
Plaintext
# Shadow
|
|
shadow = true;
|
|
no-dnd-shadow = true;
|
|
no-dock-shadow = true;
|
|
clear-shadow = true;
|
|
shadow-radius = 7;
|
|
shadow-offset-x = -7;
|
|
shadow-offset-y = -7;
|
|
# shadow-opacity = 0.7;
|
|
# shadow-red = 0.0;
|
|
# shadow-green = 0.0;
|
|
# shadow-blue = 0.0;
|
|
shadow-exclude = [ "n:e:Notification" ];
|
|
# shadow-exclude = "n:e:Notification";
|
|
shadow-ignore-shaped = true;
|
|
|
|
# Opacity
|
|
menu-opacity = 0.8;
|
|
inactive-opacity = 0.8;
|
|
frame-opacity = 0.7;
|
|
inactive-opacity-override = true;
|
|
|
|
# Fading
|
|
fading = true;
|
|
# fade-delta = 30;
|
|
fade-in-step = 0.03;
|
|
fade-out-step = 0.03;
|
|
# no-fading-openclose = true;
|
|
|
|
# Other
|
|
mark-wmwin-focused = true;
|
|
mark-ovredir-focused = true;
|
|
detect-rounded-corners = true;
|
|
|
|
# Window type settings
|
|
wintypes:
|
|
{
|
|
tooltip = { fade = true; shadow = false; opacity = 0.75; };
|
|
};
|