mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -05:00
40178702ef
- Implement clear_shadow with painting region limitation instead of calculation in shadow image, to make it work correctly on windows with rounded corners, requested by funeral1988. This might cause more load on CPU, but could mean less load for GPU. The original implementation is kept but commented out. - Code cleanup.
46 lines
914 B
Text
46 lines
914 B
Text
# 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 = false;
|
|
|
|
# Opacity
|
|
menu-opacity = 0.8;
|
|
inactive-opacity = 0.8;
|
|
frame-opacity = 0.7;
|
|
inactive-opacity-override = false;
|
|
alpha-step = 0.06;
|
|
|
|
# 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;
|
|
detect-client-opacity = true;
|
|
refresh-rate = 0;
|
|
vsync = "none";
|
|
dbe = false;
|
|
paint-on-overlay = false;
|
|
sw-opti = false;
|
|
|
|
# Window type settings
|
|
wintypes:
|
|
{
|
|
tooltip = { fade = true; shadow = false; opacity = 0.75; };
|
|
};
|