Add window shadows and inactive opacity to compton.conf

This commit is contained in:
Donovan Glover 2017-12-12 23:53:03 -05:00
parent 4b2031df6f
commit bedd4da917
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

View File

@ -18,5 +18,33 @@
#
##################################################################################
# This file is blank. We don't need any special compton stuff, just transparency.
# Enable shadows (very important, as this makes everything look really nice)
shadow = true
# Fade windows when you open and close them, as well as change workspaces
fading = true
# Give inactive windows a little less focus
# Note that this value is 0.9 without clear-shadow and 0.95 with clear-shadow
inactive-opacity = 0.95
# For some, using an OpenGL backend instead of xrender may be faster
# This may also allow you to use blur-background with reliability,
# depending on which hardware you use
# backend = glx
# 1. Not sure how much visual benefit this adds to the final output
# 2. Appears to be extremely inefficient in terms of hardware use
# blur-background = true
# "Clear shadow" means that shadows will only affect the borders of windows
# and not the entire window. This makes drawing windows much faster, but
# requires a different approach to window translucency
clear-shadow = true
# Disable transparency for mpv (specifically inactive-opacity)
focus-exclude = [
"class_g = 'mpv'"
]
# vim:ft=dosini