compton.conf: Extended this for i3

This is a ripoff off [Airblader's config](https://github.com/Airblader/dotfiles-manjaro/blob/master/.compton.conf).
This commit is contained in:
Tobias Schmidl 2019-02-19 09:14:43 +01:00
parent 391e25f035
commit da313a0c60

View file

@ -1,13 +1,77 @@
// backend = "glx";
// vsync = "opengl-swc";
alpha-step = 0.06;
blur-background = false;
blur-background-exclude =[
"class_g = 'i3-frame'",
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
blur-background-fixed = true;
blur-kern = "7x7box";
clear-shadow = true;
dbe = false;
dbus = true;
detect-client-leader = true;
detect-client-opacity = true;
detect-rounded-corners = true;
detect-transient = true;
fade-delta = 7;
fade-exclude = [];
fade-in-step = 0.05;
fade-out-step = 0.05;
fading = false;
focus-exclude = [];
// glx-copy-from-front = false;
// glx-no-stencil = true;
// glx-swap-method = "undefined";
invert-color-include = [];
mark-ovredir-focused = true;
mark-wmwin-focused = true;
no-dnd-shadow = true;
no-dock-shadow = true;
opacity-rule = [
"97:class_g = 'Termite' && !_NET_WM_STATE@:32a",
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'",
"90:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_STICKY'"
];
paint-on-overlay = true;
refresh-rate = 0;
shadow = true;
shadow-blue = 0.13;
shadow-exclude = [
//"name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'i3-frame'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
//"!I3_FLOATING_WINDOW@:c"
];
shadow-green = 0.12;
shadow-ignore-shaped = true;
shadow-offset-x = -5;
shadow-offset-y = 0;
shadow-opacity = 0.8;
shadow-radius = 10;
shadow-red = 0.11;
sw-opti = true;
unredir-if-possible = false;
use-ewmh-active-win = true;
wintypes: {
tooltip = {
fade = true;
shadow = false;
opacity = 1.00;
focus = true;
};
};