fork download
  1. backend = "glx";
  2. paint-on-overlay = true;
  3. #glx-no-stencil = true;
  4. #glx-no-rebind-pixmap = true;
  5. vsync = "none";
  6. unredir-if-possible = true;
  7.  
  8. # These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.
  9. # The other options are smaller performance tweaks that work well in most cases.
  10. # You can find the rest of the options here: https://g...content-available-to-author-only...b.com/chjj/compton/wiki/perf-guide, and here: https://g...content-available-to-author-only...b.com/chjj/compton/wiki/vsync-guide
  11.  
  12.  
  13. # Shadow
  14. shadow = true; # Enabled client-side shadows on windows.
  15. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
  16. no-dnd-shadow = true; # Don't draw shadows on DND windows.
  17. clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
  18. shadow-radius = 7; # The blur radius for shadows. (default 12)
  19. shadow-offset-x = -7; # The left offset for shadows. (default -15)
  20. shadow-offset-y = -7; # The top offset for shadows. (default -15)
  21. shadow-exclude = [
  22. "! name~=''",
  23. "n:e:Notification",
  24. "n:e:Plank",
  25. "n:e:Docky",
  26. "g:e:Synapse",
  27. "g:e:Kupfer",
  28. "g:e:Conky",
  29. "n:w:*Firefox*",
  30. "class_g ?= 'Notify-osd'",
  31. "class_g ?= 'Cairo-dock'",
  32. "class_g ?= 'Xfce4-notifyd'",
  33. "class_g ?= 'Xfce4-power-manager'"
  34. '_NET_WM_OPAQUE_REGION@:c' # ADDING THIS OPTION REMOVES SHADOW FROM GTK 3.20 apps . But my fading effects are gone. And I am getting screen tearing.
  35. ];
  36.  
  37. # The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
  38. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  39. # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
  40.  
  41. # Fading
  42. fading = true; # Fade windows during opacity changes.
  43. fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
  44. fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
  45. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  46. no-fading-openclose = false; # Fade windows in/out when opening/closing
  47.  
  48. detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
  49.  
  50. # Window type settings
  51. wintypes:
  52. {
  53. tooltip = { fade = true; shadow = false; };
  54. };
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty