From eada1a41c0b3b73f79f7054b2ea386bc2fd68b80 Mon Sep 17 00:00:00 2001 From: fedora Date: Wed, 15 May 2019 03:43:34 +0200 Subject: [PATCH] An attempt has been made to improve compton's menu shading behaviour, not quite happy with the result yet --- config/compton.conf | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/config/compton.conf b/config/compton.conf index 75cc7d3..a4a064c 100644 --- a/config/compton.conf +++ b/config/compton.conf @@ -7,7 +7,7 @@ shadow-radius = 7.0; shadow-offset-x = -7; shadow-offset-y = -7; shadow-opacity = 0.60; -shadow-ignore-shaped = true; +shadow-ignore-shaped = false; # Opacity menu-opacity = 1.0; @@ -24,7 +24,8 @@ alpha-step = 0.06; # Backend backend = "glx"; -vsync = "opengl"; +vsync = "opengl-swc"; +glx-no-stencil = true; paint-on-overlay = true; mark-wmwin-focused = true; unredir-if-possible = true; @@ -40,6 +41,7 @@ shadow-exclude = [ "class_g *?= 'VirtualBox'", "class_g *?= 'Conky'", "class_g *?= 'Notify-osd'", + "class_g ?= 'Xfce4-notifyd'", "class_g *?= 'cairo-dock'", "class_g *?= 'trayer'", "class_g *?= 'i3-frame'", @@ -61,10 +63,16 @@ focus-exclude = [ "name *?= 'Authy'" ]; +# menu = { shadow = false; }; +dropdown_menu = { shadow = false; }; +popup_menu = { shadow = false; }; +utility = { shadow = false; }; + + wintypes: { - tooltip = { fade = true; shadow = true; focus = true; }; + tooltip = { fade = true; shadow = false; focus = true; }; }; -no-fading-openclose = false; +no-fading-openclose = true; frame-opacity = 0.0; blur-background-fixed = false;