From b66b1f1ff526e7444090eb62a8267f4a816a4994 Mon Sep 17 00:00:00 2001 From: M1dgard Date: Mon, 20 Aug 2018 02:13:54 +0200 Subject: [PATCH] [compton] Disable shadows and tweak fade parameters For a smoother desktop --- compton.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/compton.conf b/compton.conf index 7401e33..81a88ab 100644 --- a/compton.conf +++ b/compton.conf @@ -56,7 +56,7 @@ glx-swap-method = "undefined"; ################################# # Enabled client-side shadows on windows. -shadow = true; +shadow = false; # Don't draw shadows on DND windows. no-dnd-shadow = true; # Avoid drawing shadows on dock/panel windows. @@ -103,6 +103,7 @@ shadow-opacity = 0.5; shadow-exclude = [ "class_g = 'i3-frame'", "class_i = 'rofi'", + "class_g = 'Polybar'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; @@ -155,13 +156,13 @@ blur-background-exclude = [ # Fade windows during opacity changes. fading = true; # The time between steps in a fade in milliseconds. (default 10). -fade-delta = 3; +fade-delta = 10; # Opacity change between steps while fading in. (default 0.028). -fade-in-step = 0.05; +fade-in-step = 0.09; # Opacity change between steps while fading out. (default 0.03). -fade-out-step = 0.05; +fade-out-step = 0.06; # Fade windows in/out when opening/closing -# no-fading-openclose = true; +#no-fading-openclose = true; # Specify a list of conditions of windows that should not be faded. fade-exclude = [ ];