You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.4 KiB

  1. backend = "xr_glx_hybrid";
  2. glx-swap-method = "3";
  3. paint-on-overlay = true;
  4. glx-no-stencil = true;
  5. glx-no-rebind-pixmap = true;
  6. vsync = "opengl-swc";
  7. unredir-if-possible= true;
  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://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide
  11. # Shadow
  12. shadow = false; # Enabled client-side shadows on windows.
  13. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
  14. no-dnd-shadow = true; # Don't draw shadows on DND windows.
  15. clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
  16. shadow-radius = 7; # The blur radius for shadows. (default 12)
  17. shadow-offset-x = -7; # The left offset for shadows. (default -15)
  18. shadow-offset-y = -7; # The top offset for shadows. (default -15)
  19. shadow-exclude = [
  20. "! name~=''",
  21. "n:e:Notification",
  22. "n:e:Plank",
  23. "n:e:Docky",
  24. "g:e:Synapse",
  25. "g:e:Kupfer",
  26. "g:e:Conky",
  27. "n:w:*Firefox*",
  28. "n:w:*Chrome*",
  29. "n:w:*Chromium*",
  30. "class_g ?= 'Notify-osd'",
  31. "class_g ?= 'Cairo-dock'",
  32. "class_g ?= 'Xfce4-notifyd'",
  33. "class_g ?= 'Xfce4-power-manager'"
  34. ];
  35. # 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
  36. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  37. # 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.
  38. # Fading
  39. fading = true; # Fade windows during opacity changes.
  40. fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
  41. fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
  42. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  43. #no-fading-openclose = true; # Fade windows in/out when opening/closing */
  44. 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.
  45. # Window type settings
  46. wintypes:
  47. {
  48. tooltip = { fade = true; shadow = false; };
  49. };