dotfiles/compton/.config/compton.conf

42 lines
1.1 KiB
Plaintext
Raw Normal View History

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;
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;
};
};