From 84422ab06439f305147a8d9c915ec121e48e065d Mon Sep 17 00:00:00 2001 From: aj Date: Thu, 6 Jun 2019 12:40:07 +0100 Subject: [PATCH] reduced fade time, added opacity/dimming --- compton/compton.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/compton/compton.conf b/compton/compton.conf index dc368ea..4d32d78 100644 --- a/compton/compton.conf +++ b/compton/compton.conf @@ -62,7 +62,7 @@ no-dnd-shadow = true; # Avoid drawing shadows on dock/panel windows. no-dock-shadow = true; # The blur radius for shadows. (default 12) -shadow-radius = 5; +shadow-radius = 12; # The left offset for shadows. (default -15) shadow-offset-x = -5; # The top offset for shadows. (default -15) @@ -110,14 +110,14 @@ shadow-ignore-shaped = false; ################################# menu-opacity = 1; -inactive-opacity = 1; +inactive-opacity = 0.8; active-opacity = 1; frame-opacity = 1; inactive-opacity-override = false; alpha-step = 0.06; # Dim inactive windows. (0.0 - 1.0) -# inactive-dim = 0.2; +inactive-dim = 0.1; # Do not let dimness adjust based on window opacity. # inactive-dim-fixed = true; # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. @@ -145,11 +145,11 @@ opacity-rule = [ # Fade windows during opacity changes. fading = true; # The time between steps in a fade in milliseconds. (default 10). -fade-delta = 10; +fade-delta = 2; # Opacity change between steps while fading in. (default 0.028). -fade-in-step = 0.03; +fade-in-step = 0.01; # Opacity change between steps while fading out. (default 0.03). -fade-out-step = 0.03; +fade-out-step = 0.01; # Fade windows in/out when opening/closing no-fading-openclose = false; @@ -189,7 +189,7 @@ refresh-rate = 0; # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental. # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use. # (Note some VSync methods may not be enabled at compile time.) -vsync = "opengl"; +vsync = "opengl-swc"; # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Reported to have no effect, though.