From a1fe9d8813658e7285a842f94e479863d0687487 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= <ruben@trisquel.info>
Date: Thu, 16 Oct 2014 00:13:24 +0200
Subject: [PATCH] Tweaked compton config

---
 helpers/DATA/compton/compton.conf | 3 +++
 helpers/make-compton              | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/helpers/DATA/compton/compton.conf b/helpers/DATA/compton/compton.conf
index b743e6e4..af829b9d 100644
--- a/helpers/DATA/compton/compton.conf
+++ b/helpers/DATA/compton/compton.conf
@@ -92,6 +92,9 @@ shadow-exclude = [
     "name *= 'Chrome'",
     "name *= 'Firefox'",
     "name *= 'Abrowser'",
+    "name *= 'IceCat'",
+    "name *= 'Totem'",
+    "name *= 'XBMC'",
     "class_g = 'Conky'",
     "class_g = 'Kupfer'",
     "class_g = 'Synapse'",
diff --git a/helpers/make-compton b/helpers/make-compton
index dee7fe53..28380552 100644
--- a/helpers/make-compton
+++ b/helpers/make-compton
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=3
+VERSION=4
 
 . ./config
 
@@ -46,6 +46,7 @@ cat << EOF > compton-launcher
 #!/bin/sh
 
 [ \$DESKTOP_SESSION = "trisquel-session" ] || exit 0
+[ -f ~/.config/disable-compton ] && exit 0
 
 FILE=/etc/compton.conf
 [ -f ~/.config/compton.conf ] && FILE="~/.config/compton.conf"
-- 
GitLab