2019-03-24 15:03:56 +01:00
|
|
|
# Compton config
|
|
|
|
backend = "glx"; # Enables Opengl backend
|
|
|
|
glx-no-stencil = true;
|
|
|
|
glx-no-rebind-pixmap = true;
|
|
|
|
glx-swap-method = true;
|
2019-12-24 03:08:03 +01:00
|
|
|
vsync = true;
|
2019-03-24 15:03:56 +01:00
|
|
|
unredir-if-possible = true;
|
|
|
|
|
|
|
|
# Shadow
|
|
|
|
shadow = true; # Enabled client-side shadows on windows.
|
|
|
|
shadow-radius = 7; # The blur radius for shadows. (default 12)
|
|
|
|
shadow-offset-x = -7; # The left offset for shadows. (default -15)
|
|
|
|
shadow-offset-y = -7; # The top offset for shadows. (default -15)
|
|
|
|
|
|
|
|
shadow-exclude = [
|
|
|
|
"! name~=''",
|
|
|
|
"name *= 'compton'",
|
|
|
|
"name *= 'chromium-browser'",
|
|
|
|
"name *= 'Chrome'",
|
|
|
|
"name *= 'mpv'",
|
|
|
|
"class_g = 'Conky'",
|
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Fading
|
|
|
|
fading = true; # Fade windows during opacity changes.
|
|
|
|
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
|
|
|
|
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
|
|
|
|
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
|
|
|
|
|
|
|
|
# Window type settings
|
|
|
|
# Disables shadows on tooltips and enables fading on tooltips
|
|
|
|
|
|
|
|
wintypes:
|
|
|
|
{
|
|
|
|
tooltip = {
|
|
|
|
fade = true;
|
|
|
|
shadow = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|