mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-09 06:19:35 +01:00
Add window shadows and inactive opacity to compton.conf
This commit is contained in:
parent
4b2031df6f
commit
bedd4da917
@ -18,5 +18,33 @@
|
|||||||
#
|
#
|
||||||
##################################################################################
|
##################################################################################
|
||||||
|
|
||||||
# This file is blank. We don't need any special compton stuff, just transparency.
|
# Enable shadows (very important, as this makes everything look really nice)
|
||||||
|
shadow = true
|
||||||
|
|
||||||
|
# Fade windows when you open and close them, as well as change workspaces
|
||||||
|
fading = true
|
||||||
|
|
||||||
|
# Give inactive windows a little less focus
|
||||||
|
# Note that this value is 0.9 without clear-shadow and 0.95 with clear-shadow
|
||||||
|
inactive-opacity = 0.95
|
||||||
|
|
||||||
|
# For some, using an OpenGL backend instead of xrender may be faster
|
||||||
|
# This may also allow you to use blur-background with reliability,
|
||||||
|
# depending on which hardware you use
|
||||||
|
# backend = glx
|
||||||
|
|
||||||
|
# 1. Not sure how much visual benefit this adds to the final output
|
||||||
|
# 2. Appears to be extremely inefficient in terms of hardware use
|
||||||
|
# blur-background = true
|
||||||
|
|
||||||
|
# "Clear shadow" means that shadows will only affect the borders of windows
|
||||||
|
# and not the entire window. This makes drawing windows much faster, but
|
||||||
|
# requires a different approach to window translucency
|
||||||
|
clear-shadow = true
|
||||||
|
|
||||||
|
# Disable transparency for mpv (specifically inactive-opacity)
|
||||||
|
focus-exclude = [
|
||||||
|
"class_g = 'mpv'"
|
||||||
|
]
|
||||||
|
|
||||||
|
# vim:ft=dosini
|
||||||
|
Loading…
Reference in New Issue
Block a user