tvl-depot/configs/shared/misc/.config/compton.conf
William Carroll a59605c756 Support alternative lock screen
Also adds some rules for the Compton configuration so, that the lock screen
isn't transparent.
2019-05-13 16:35:38 +01:00

24 lines
620 B
Text

# shadow
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
# opacity
menu-opacity = 0.8;
inactive-opacity = 0.8;
# transitions
fading = true;
fade-in-step = 0.07;
fade-out-step = 0.07;
# lock screen
# NOTE: Need this rule here because I set XSECURELOCK_NO_COMPOSITE=1 in
# ~/.profile. Without this, the lock screen will adopt the opacity settings
# above, which is a security risk if you lock your screen while it has sensitive
# content on it.
#
# NOTE: For some reason, `100:class_g` doesn't work, so settling for
# `99:class_g` instead.
opacity-rule = [ "99:class_g = 'xsecurelock'" ];