about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configs/shared/.config/compton.conf33
-rw-r--r--configs/shared/.profile7
-rw-r--r--configs/shared/.xsessionrc.shared4
-rw-r--r--emacs/.emacs.d/wpc/dotfiles.el3
4 files changed, 1 insertions, 46 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 &
 
diff --git a/emacs/.emacs.d/wpc/dotfiles.el b/emacs/.emacs.d/wpc/dotfiles.el
index d27815c9e3e4..0afe04bbd66b 100644
--- a/emacs/.emacs.d/wpc/dotfiles.el
+++ b/emacs/.emacs.d/wpc/dotfiles.el
@@ -24,8 +24,7 @@
   "The root directory of my configuration files.")
 
 (defconst dotfiles/whitelist
-  `(("compton" . "~/.config/compton.conf")
-    ("dotfiles" . ,dotfiles/directory)
+  `(("dotfiles" . ,dotfiles/directory)
     ("functions" . "~/functions.zsh")
     ("aliases" . "~/aliases.zsh")
     ("variables" . "~/variables.zsh")