From: Siraaj Khandkar Date: Mon, 10 Jun 2019 10:39:13 +0000 (-0400) Subject: Track .compton.conf X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=5766752382003533273c91d4349f4f99894a5212;p=khome.git Track .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. + ];