Track .compton.conf
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 10 Jun 2019 10:39:13 +0000 (06:39 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 10 Jun 2019 10:39:13 +0000 (06:39 -0400)
Makefile
home/.compton.conf [new file with mode: 0644]

index b8fbeec..d083411 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ APT_SOURCES     := system/debian/apt-sources.list
 install:
        @cp  -Rp  home/bin          $(HOME)/
        @cp  -Rp  home/lib          $(HOME)/
+       @cp       home/.compton.conf $(HOME)/
        @cp  -Rp  home/.config/     $(HOME)/
        @cp       home/.profile     $(HOME)/
        @cp       home/.fonts.conf  $(HOME)/
diff --git a/home/.compton.conf b/home/.compton.conf
new file mode 100644 (file)
index 0000000..cb4d7cf
--- /dev/null
@@ -0,0 +1,14 @@
+# To find class of a window:
+#
+#     xprop | grep -i class
+#
+
+opacity-rule =
+    [ "99:class_g = 'XScreenSaver'" # Shows desktop otherwise; and "100" does not work.. :/
+    , "99:class_g = 'slock'"        # Shows desktop otherwise; and "100" does not work.. :/
+    , "99:name    = 'slock'"        # Shows desktop otherwise; and "100" does not work.. :/
+    , "99:class_g = 'screengrab'"   # Original is obscured with overlaid transparency
+    , "80:class_g = 'dmenu'"        # Want to be more-visible.
+    , "60:class_g = 'Dunst'"        # Not transparent otherwise.
+    , "60:class_g = 'dwm'"          # Always inactive, so need to override.
+    ];
This page took 0.022821 seconds and 4 git commands to generate.