Replace compton with picom

This commit is contained in:
2019-12-24 03:26:42 +01:00
parent 2b92d0d55a
commit c3cd911377
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
# Compton config
backend = "glx"; # Enables Opengl backend
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
glx-swap-method = true;
vsync = true;
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;
};
};