From 7c9ed10a00d0c379869943f6ed82cc01edaf4ea2 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 14 Mar 2018 02:07:57 +0000 Subject: [PATCH] compton: don't shadow slop/maim --- .config/compton.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/compton.conf b/.config/compton.conf index 8cd53bb..bc85628 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -11,7 +11,7 @@ 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-exclude = [ "class_g = 'slop'" ]; # Exclude conditions for shadows. shadow-ignore-shaped = false; # Avoid drawing shadow on all shaped windows # (see also: --detect-rounded-corners) @@ -50,10 +50,10 @@ backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typical # much faster but depends on a sane driver. mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus). -use-ewmh-active-win = true; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused +use-ewmh-active-win = true; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused # instead of using FocusIn/Out events. Usually more reliable but # depends on a EWMH-compliant WM. -detect-rounded-corners = false; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. +detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window # managers not passing _NET_WM_OPACITY of client windows to frame windows. refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.