X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/d9362f346f3609007060bdec8ab6691a5537b0ad..a8f1ccafb8cc593670ddcda3f17ef83af8950a94:/xdg/compton.conf diff --git a/xdg/compton.conf b/xdg/compton.conf index 99228bc..3761d59 100644 --- a/xdg/compton.conf +++ b/xdg/compton.conf @@ -3,17 +3,24 @@ shadow = true; no-dnd-shadow = true; no-dock-shadow = true; clear-shadow = true; -shadow-radius = 7; -shadow-offset-x = -7; -shadow-offset-y = -7; -shadow-opacity = 1; +shadow-radius = 8; +shadow-offset-x = -12; +shadow-offset-y = -12; +shadow-opacity = 0.3; 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; @@ -21,8 +28,22 @@ inactive-opacity = 0.875; active-opacity = 1; alpha-step = 0.01; inactive-dim = 0.075; -blur-background = true; +# XXX: crashes on alpine??? +#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;