about summary refs log tree commit diff
path: root/configs/shared/misc/.config/compton.conf
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/misc/.config/compton.conf')
-rw-r--r--configs/shared/misc/.config/compton.conf14
1 files changed, 12 insertions, 2 deletions
diff --git a/configs/shared/misc/.config/compton.conf b/configs/shared/misc/.config/compton.conf
index 51e8c8aaa1c4..ae06b19aba8f 100644
--- a/configs/shared/misc/.config/compton.conf
+++ b/configs/shared/misc/.config/compton.conf
@@ -10,5 +10,15 @@ inactive-opacity = 0.8;
 
 # transitions
 fading = true;
-fade-in-step = 0.03;
-fade-out-step = 0.03;
\ No newline at end of file
+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'" ];