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.
This commit is contained in:
William Carroll 2020-02-17 21:18:03 +00:00
parent 62ea675d7a
commit e61965cafd
4 changed files with 1 additions and 46 deletions

View file

@ -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'"
];

View file

@ -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_DEFAULT_COMMAND='fd --hidden --follow --exclude ".git"'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" 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 # This fixes nixpkgs that rely on glibc-2.27, which allegedly breaks locale
# issues. # issues.
# See this thread for more details: https://github.com/NixOS/nixpkgs/issues/8398 # See this thread for more details: https://github.com/NixOS/nixpkgs/issues/8398

View file

@ -11,10 +11,6 @@ xsetroot -solid "#333333"
# Set fallback cursor. # Set fallback cursor.
xsetroot -cursor_name left_ptr 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` hide the cursor in when it is inactive
unclutter & unclutter &

View file

@ -24,8 +24,7 @@
"The root directory of my configuration files.") "The root directory of my configuration files.")
(defconst dotfiles/whitelist (defconst dotfiles/whitelist
`(("compton" . "~/.config/compton.conf") `(("dotfiles" . ,dotfiles/directory)
("dotfiles" . ,dotfiles/directory)
("functions" . "~/functions.zsh") ("functions" . "~/functions.zsh")
("aliases" . "~/aliases.zsh") ("aliases" . "~/aliases.zsh")
("variables" . "~/variables.zsh") ("variables" . "~/variables.zsh")