Code:

# See: http://ubuntuforums.org/showthread.php?t=2144468 # Backend # See: https://github.com/chjj/compton/wiki/perf-guide backend = "glx"; glx-no-stencil = true; glx-no-rebind-pixmap = true; #glx-use-copysubbuffermesa = true; # may have negative effects on vsync paint-on-overlay = true; unredir-if-possible = true; # may fix some fullscreen apps # Vsync # See https://github.com/chjj/compton/wiki/vsync-guide vsync = "opengl-swc"; # Shadow shadow = true; shadow-radius = 4; # the blur radius (default 12) shadow-offset-x = -5; # the left offset (default -15) shadow-offset-y = -5; # the top offset (default -15) clear-shadow = true; # might help with irregularly shaped windows no-dock-shadow = true; no-dnd-shadow = true; shadow-exclude = [ "n:e:Notification", "n:e:Docky", "g:e:Synapse", "g:e:Conky", "n:w:*Firefox*", "n:w:*Chromium*", "n:w:*dockbarx*", "class_g ?= 'Cairo-dock'", "class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-power-manager'" ]; # Opacity detect-client-opacity = true; # Fading fading = true; fade-delta = 3; # the time between steps in a fade in milliseconds (default 10). fade-in-step = 0.03; # opacity change between steps while fading in (default 0.028). fade-out-step = 0.03; # oppacity change between steps while fading out (default 0.03). #no-fading-openclose = true; # Fade windows in/out when opening/closing # Window type settings wintypes: { tooltip = { fade = true; shadow = false; }; };