commit cc94045cb1a29407984096ac929cab18ea535fd1 parent 6f3a905a11e8e4a844a326e1e3b1c28938c5e313 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Tue, 17 Sep 2019 00:05:08 -0400 compton: config Former-commit-id: 65664d597e6396af84adf7ea4e2cc498574fa08b Diffstat:
A | compton/config | | | 30 | ++++++++++++++++++++++++++++++ |
1 file changed, 30 insertions(+), 0 deletions(-)
diff --git a/compton/config b/compton/config @@ -0,0 +1,30 @@ +# basic configuration +backend = "glx"; +vsync = "opengl-swc"; + +glx-swap-method = 2; +xrender-sync = true; +xrender-sync-fence = true; + +# transparancy settings for i3 +opacity-rule = +[ + "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", + "90:class_g = 'termite' && focused", + "0:class_g = 'termite' && !focused" +]; + +# workspace opacity transition for i3 +fading = true; +fade-delta = 2.1; +fade-in-step = 0.03; +fade-out-step = 0.03; + +# window shadows for i3 +shadow = true; +no-dock-shadow = true; +no-dnd-shadow = true; +clear-shadow = true; +shadow-radius = 7; +shadow-offset-x = -7; +shadow-offset-y = -7;