Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. backend = "glx"; # Enables Opengl backend
  2. paint-on-overlay = true; # These 3 can improve performance, work well in most cases
  3. glx-no-stencil = true;
  4. glx-no-rebind-pixmap = true;
  5. vsync = "opengl-swc"; # Enables one of the vsync methods. Check here for more info: https://github.com/chjj/compton/wiki/vsync-guide
  6.  
  7. # Shadow
  8. shadow = true; # Enabled client-side shadows on windows.
  9. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
  10. no-dnd-shadow = true; # Don't draw shadows on DND windows.
  11. clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
  12. shadow-radius = 7; # The blur radius for shadows. (default 12)
  13. shadow-offset-x = -7; # The left offset for shadows. (default -15)
  14. shadow-offset-y = -7; # The top offset for shadows. (default -15)
  15. shadow-exclude = [
  16. "! name~=''",
  17. "n:e:Notification",
  18. "n:e:Plank",
  19. "n:e:Docky",
  20. "g:e:Synapse",
  21. "g:e:Kupfer",
  22. "g:e:Conky",
  23. "n:w:*Firefox*",
  24. "n:w:*Chrome*",
  25. "n:w:*Chromium*",
  26. "class_g ?= 'Notify-osd'",
  27. "class_g ?= 'Cairo-dock'",
  28. "class_g ?= 'Xfce4-notifyd'",
  29. "class_g ?= 'Xfce4-power-manager'"
  30. ];
  31.  
  32. # Due to how compton draws shadows, some apps will have "glitchy" shadows. I've added all problem apps I ran into here.
  33. #"! name~=''" excludes shadows on "unkown" windows, which fixes a shadow glitch with XFWM's alt tab switcher.
  34.  
  35. # Fading
  36. fading = true; # Fade windows during opacity changes.
  37. fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
  38. fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
  39. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  40. #no-fading-openclose = true; # Fade windows in/out when opening/closing
  41.  
  42. detect-client-opacity = true; #Fixes opacity in some apps, such as xfce4-notifyd
  43.  
  44. # Window type settings
  45. # Disables shadows on tooltips and enables fading on tooltips
  46.  
  47. wintypes:
  48. {
  49. tooltip = { fade = true; shadow = false; };
  50. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement