From b1158d9ac73294bdcfb969aa80543f8c884d1f9b Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 28 Nov 2014 14:14:41 +0100 Subject: compton.conf: Adding transparency excludes for VLC and Firefox. --- .config/compton.conf | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to '.config/compton.conf') diff --git a/.config/compton.conf b/.config/compton.conf index 893aa32..e49a70a 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -11,7 +11,10 @@ shadow-offset-y = -7; # The top offset for shadows. (default -15) # 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", "_GTK_FRAME_EXTENTS@:c" ]; # Exclude conditions for shadows. +shadow-exclude = [ + "n:e:Notification", + "_GTK_FRAME_EXTENTS@:c", +]; # Exclude conditions for shadows. # shadow-exclude = "n:e:Notification"; shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows @@ -35,8 +38,14 @@ alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increas # blur-background-frame = true; # Blur background of opaque windows with transparent # frames as well. blur-background-fixed = false; # Do not let blur radius adjust based on window opacity. -blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; - # Exclude conditions for background blur. +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "name *= 'VLC'", + "name *= 'Firefox'", + "name *= 'Vimperator'" +]; +# Exclude conditions for background blur. # Fading fading = true; # Fade windows during opacity changes. @@ -44,7 +53,11 @@ fading = true; # Fade windows during opacity changes. fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028). fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03). # no-fading-openclose = true; # Avoid fade windows in/out when opening/closing. -fade-exclude = [ ]; # Exclude conditions for fading. +fade-exclude = [ + "name *= 'VLC'", + "name *= 'Firefox'", + "name *= 'Vimperator'" +]; # Exclude conditions for fading. # Other backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically @@ -67,7 +80,11 @@ sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_ra # Incompatible with certain VSync methods. unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is # detected, to maximize performance for full-screen windows. -focus-exclude = [ ]; # A list of conditions of windows that should always be considered +focus-exclude = [ + "name *= 'VLC'", + "name *= 'Firefox'", + "name *= 'Vimperator'" +]; # A list of conditions of windows that should always be considered # focused. detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in # the same group focused at the same time. -- cgit v1.2.3-54-g00ecf