about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-17T21·18+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-17T21·18+0000
commite61965cafd25ecc8b905feabd169204e3fb28e84 (patch)
tree58697eb6e5a81cdc1eff21f107e3a25a247b9519 /configs
parent62ea675d7a3798aa1ded2b196aa5de231a125e31 (diff)
Drop support for compton
I'm finding myself running `pkill compton` offer. In the spirit of slimming down
my configuration, I'm dropping support for compton.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.config/compton.conf33
-rw-r--r--configs/shared/.profile7
-rw-r--r--configs/shared/.xsessionrc.shared4
3 files changed, 0 insertions, 44 deletions
diff --git a/configs/shared/.config/compton.conf b/configs/shared/.config/compton.conf
deleted file mode 100644
index a6b5f637e60a..000000000000
--- a/configs/shared/.config/compton.conf
+++ /dev/null
@@ -1,33 +0,0 @@
-# shadow
-shadow = false;
-shadow-radius = 7;
-shadow-offset-x = -7;
-shadow-offset-y = -7;
-
-# TODO: Remove active opacity
-
-# opacity
-menu-opacity = 0.8;
-inactive-opacity = 0.96;
-active-opacity = 0.96;
-
-# 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'",
-  # TODO: Ensure this works.
-  "80:class_g = 'terminator'",
-  # TODO: Ensure this work.
-  "80:class_g = 'Google Emacs'"
-];
diff --git a/configs/shared/.profile b/configs/shared/.profile
index 64fab4d51da6..32a0d13bf434 100644
--- a/configs/shared/.profile
+++ b/configs/shared/.profile
@@ -33,13 +33,6 @@ export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
 export FZF_DEFAULT_COMMAND='fd --hidden --follow --exclude ".git"'
 export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
 
-# 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
diff --git a/configs/shared/.xsessionrc.shared b/configs/shared/.xsessionrc.shared
index 6f933be5a65a..2c266af491fc 100644
--- a/configs/shared/.xsessionrc.shared
+++ b/configs/shared/.xsessionrc.shared
@@ -11,10 +11,6 @@ xsetroot -solid "#333333"
 # Set fallback cursor.
 xsetroot -cursor_name left_ptr
 
-# start compton for shadows, transparency, fading, etc.
-# TODO: Consider starting this with `systemctl --user enable compton.service`
-compton &
-
 # `unclutter` hide the cursor in when it is inactive
 unclutter &