.config/compton.conf
790d1169
 ## Backend
 backend = "glx";
 xrender-sync-fence = true;
 # vsync = true;
 
 ## glx backend
 glx-no-stencil = true;
 
 ## Unredir
 unredir-if-possible = true;
 unredir-if-possible-delay = 0;
 
 ## Window groups
 detect-transient = true;
 detect-client-leader = false;
 
 ## Focus
 use-ewmh-active-win = true;
 mark-wmwin-focused = true;
 mark-ovredir-focused = true;
 
 ## Shadows
 shadow = true;
 shadow-radius = 8;
 shadow-opacity = 1;
 shadow-offset-x = -8;
 shadow-offset-y = -8;
 shadow-ignore-shaped = false;
 xinerama-shadow-crop = true;
 shadow-exclude = [
     "window_type !~?= 'normal|dock'",
     "name    ~?= '(^|[[:punct:]])(frame|border|tray|noshadow)([[:punct:]]|$)'",
     "class_i ~?= '(^|[[:punct:]])(frame|border|tray|noshadow)([[:punct:]]|$)'"
 ]
 
 ## Dimming
 inactive-dim = 0.1;
 inactive-dim-fixed = true;
 
 ## Opacity
 detect-client-opacity = true;
 # https://github.com/chjj/compton/issues/408
 # https://github.com/yshui/picom/pull/550
 opacity-rule = [
     "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:  focused && argb && window_type ?= 'normal' && class_g ~?= 'u?(xterm|rxvt)|terminal|(k|c)onsole|zathura'"
 ]