Replace compton with picom
This commit is contained in:
41
picom/.config/picom/picom.conf
Normal file
41
picom/.config/picom/picom.conf
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user