aboutsummaryrefslogtreecommitdiffstats
path: root/.config/compton.conf
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-11-28 14:14:41 +0100
committerDavid Runge <david.runge@frqrec.com>2014-11-28 14:14:41 +0100
commitb1158d9ac73294bdcfb969aa80543f8c884d1f9b (patch)
treee3252d9b08bd36cd98806ba8dbb0a7e6b9fcd1c0 /.config/compton.conf
parenta4fef87fb10b220d1741c8e1c6a9226a2d92dcc1 (diff)
downloaddotfiles-b1158d9ac73294bdcfb969aa80543f8c884d1f9b.tar.gz
dotfiles-b1158d9ac73294bdcfb969aa80543f8c884d1f9b.tar.bz2
dotfiles-b1158d9ac73294bdcfb969aa80543f8c884d1f9b.tar.xz
dotfiles-b1158d9ac73294bdcfb969aa80543f8c884d1f9b.zip
compton.conf: Adding transparency excludes for VLC and Firefox.
Diffstat (limited to '.config/compton.conf')
-rw-r--r--.config/compton.conf27
1 files changed, 22 insertions, 5 deletions
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.