]> git.sev.monster Git - dotfiles.git/blobdiff - xdg/compton.conf
actually do what was mentioned in previous commit
[dotfiles.git] / xdg / compton.conf
index 99228bcc3f0b917ecfbf49ac9c7b5c8d703ae60e..fcdfcb04e014ba04140fb23eddf9004a60b0b75a 100644 (file)
@@ -8,12 +8,19 @@ shadow-offset-x = -7;
 shadow-offset-y = -7;
 shadow-opacity = 1;
 shadow-exclude = [
+       # gtk3 fix
        "_GTK_FRAME_EXTENTS@:c",
-       # fullscreen
-       "x = 0 && y = 0 && override_redirect = true"
+       # i3 tabbed windows
+       "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
+       # i3 titlebar
+       "class_g = 'i3-frame'",
+       # fullscreen/dmenu
+       "x = 0 && y = 0 && override_redirect = true",
+       # bg terminals
+       "class_i = 'TermBg1'",
+       "class_i = 'TermBg2'"
 ];
 shadow-ignore-shaped = true;
-xinerama-shadow-crop = true;
 
 # Opacity
 menu-opacity = 0.9;
@@ -23,6 +30,19 @@ alpha-step = 0.01;
 inactive-dim = 0.075;
 blur-background = true;
 blur-kern = "5,5,0.367879,0.535261,0.606531,0.535261,0.367879,0.535261,0.778801,0.882497,0.778801,0.535261,0.606531,0.882497,0.882497,0.606531,0.535261,0.778801,0.882497,0.778801,0.535261,0.367879,0.535261,0.606531,0.535261,0.367879,"
+opacity-rule = [
+       # i3 tabbed windows
+       "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
+];
+blur-background-exclude = [
+       # gtk3 fix
+       "_GTK_FRAME_EXTENTS@:c",
+       # i3 titlebar
+       "class_g = 'i3-frame'",
+       # ignore docks
+       "window_type = 'dock'",
+       "window_type = 'desktop'"
+];
 
 # Fading
 fading = true;
This page took 0.050863 seconds and 4 git commands to generate.