about summary refs log tree commit diff
path: root/configs/shared/shell/.profile
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-05-13T15·35+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-05-13T15·35+0100
commita59605c756b614bd5c536fe03a643b73ac04d1f2 (patch)
tree76ce0280594f754d39bb1a20466ea4c8e71b83c6 /configs/shared/shell/.profile
parentaafc240c1666d123c11df1d3710ede7c61f1d27c (diff)
Support alternative lock screen
Also adds some rules for the Compton configuration so, that the lock screen
isn't transparent.
Diffstat (limited to 'configs/shared/shell/.profile')
-rw-r--r--configs/shared/shell/.profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/shared/shell/.profile b/configs/shared/shell/.profile
index 0afaec690134..0bb636e22a9d 100644
--- a/configs/shared/shell/.profile
+++ b/configs/shared/shell/.profile
@@ -18,6 +18,13 @@ export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
 export DOTFILES="$HOME/Dropbox/dotfiles"
 export ORG_DIRECTORY="$HOME/Dropbox/org"
 
+# Prevent compton from fading to the lock screen. This also prevents the white
+# overlay that compton was causing to appear. Still unsure why that was
+# happening.
+# For more information, see the following GitHub issue:
+# https://github.com/google/xsecurelock/issues/28
+export XSECURELOCK_NO_COMPOSITE=1
+
 # This fixes nixpkgs that rely on glibc-2.27, which allegedly breaks locale
 # issues.
 # See this thread for more details: https://github.com/NixOS/nixpkgs/issues/8398