From ba301af19a82b5112f9dd8d718dc0da67eafb7e5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 27 Oct 2016 15:35:10 +0200 Subject: [PATCH] compton: enable shadows, less obnoxious bspwm presel overlay --- os/arch/.config/compton.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/os/arch/.config/compton.conf b/os/arch/.config/compton.conf index f9b35dfd..978e9bf2 100644 --- a/os/arch/.config/compton.conf +++ b/os/arch/.config/compton.conf @@ -5,25 +5,30 @@ glx-no-rebind-pixmap = true; #vsync = "opengl-swc"; # Shadow -shadow = false; +shadow = true; no-dock-shadow = true; no-dnd-shadow = true; clear-shadow = true; -shadow-radius = 4; +shadow-radius = 3; shadow-offset-x = -4; shadow-offset-y = -4; -shadow-opacity = 0.25; +shadow-opacity = 0.15; # shadow-red # shadow-green # shadow-blue -shadow-exclude = [ "n:e:Notification" ]; +shadow-exclude = [ + "n:e:Notification", + "class_i = 'presel_feedback'" +]; # Opacity menu-opacity = 0.95; inactive-opacity = 0.96; # frame-opacity = 0.8; inactive-opacity-override = true; -opacity-rule = [ "35:class_g = 'Bspwm' && class_i = 'presel_feedback'" ]; +opacity-rule = [ + "10:class_g = 'Bspwm' && class_i = 'presel_feedback'" +]; # Fading fading = true;