From fadbe93a53a0fc7f06572990b87a291bc054a9ed Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 4 Dec 2016 13:53:31 +0000 Subject: [PATCH] Improve compton blur and shadow on some windows --- .config/compton.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.config/compton.conf b/.config/compton.conf index 8420848..b8adc42 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -1,7 +1,7 @@ # Shadow shadow = true; # Enabled client-side shadows on windows. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows. -no-dnd-shadow = true; # Don't draw shadows on DND windows. +no-dnd-shadow = false; # Don't draw shadows on DND windows. clear-shadow = true; # Zero the part of the shadow's mask behind the # window. Fix some weirdness with ARGB windows. shadow-radius = 12; # The blur radius for shadows. (default 12) @@ -11,8 +11,8 @@ shadow-opacity = 0.65; # The translucency for shadows. (default .75) # shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0) # shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0) # shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0) -shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows. -shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows +#shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows. +shadow-ignore-shaped = false; # Avoid drawing shadow on all shaped windows # (see also: --detect-rounded-corners) # Opacity @@ -29,7 +29,8 @@ alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasin #inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity. inactive-opacity-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; blur-background = true; # Blur background of transparent windows. -blur-background-frame = true; # Blur background of opaque windows with transparent +blur-background-exclude = [ "class_g = 'Peek'" ]; +blur-background-frame = false; # Blur background of opaque windows with transparent # frames as well. blur-background-fixed = true; # Do not let blur radius adjust based on window opacity. # Exclude conditions for background blur. @@ -81,7 +82,7 @@ glx-swap-method = "undefined"; # See man page. # Window type settings wintypes: { - tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; }; + tooltip = { fade = true; shadow = false; opacity = 1; focus = true; }; # fade: Fade the particular type of windows. # shadow: Give those windows shadow # opacity: Default opacity for the type of windows.