From 5766752382003533273c91d4349f4f99894a5212 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 10 Jun 2019 06:39:13 -0400 Subject: [PATCH] Track .compton.conf --- Makefile | 1 + home/.compton.conf | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 home/.compton.conf diff --git a/Makefile b/Makefile index b8fbeec..d083411 100644 --- 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 index 0000000..cb4d7cf --- /dev/null +++ b/home/.compton.conf @@ -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. + ]; -- 2.20.1