Advertisement
Guest User

compton

a guest
Jan 1st, 2016
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. backend = "glx";
  2. paint-on-overlay = true;
  3. glx-no-stencil = true;
  4. glx-no-rebind-pixmap = true;
  5. vsync = "opengl-swc";
  6.  
  7. # 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.
  8. # The other options are smaller performance tweaks that work well in most cases.
  9. # 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
  10.  
  11.  
  12. # Shadow
  13. shadow = true; # Enabled client-side shadows on windows.
  14. no-dock-shadow = false; # Avoid drawing shadows on dock/panel windows.
  15. no-dnd-shadow = true; # Don't draw shadows on DND windows.
  16. clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
  17. shadow-radius = 12; # The blur radius for shadows. (default 12)
  18. shadow-offset-x = -8; # The left offset for shadows. (default -15)
  19. shadow-offset-y = -8; # The top offset for shadows. (default -15)
  20. shadow-exclude = [
  21. "! name~=''",
  22. "n:e:Notification",
  23. "n:e:Plank",
  24. # "n:e:Docky",
  25. "g:e:Synapse",
  26. "g:e:Kupfer",
  27. "g:e:Conky",
  28. "n:w:*Firefox*",
  29. "n:w:*Chrome*",
  30. "n:w:*Chromium*"
  31. "class_g ?= 'gnome-calculator'",
  32. "class_g ?= 'Notify-osd'",
  33. #"class_g ?= 'Cairo-dock'",
  34. "class_g ?= 'Xfce4-notifyd'",
  35. "class_g ?= 'Xfce4-power-manager'"
  36. ];
  37.  
  38. # 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
  39. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  40. # 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.
  41.  
  42. # Fading
  43. fading = true; # Fade windows during opacity changes.
  44. fade-delta = 15; # The time between steps in a fade in milliseconds. (default 10).
  45. fade-in-step = 0.028; # Opacity change between steps while fading in. (default 0.028).
  46. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  47. #no-fading-openclose = true; # Fade windows in/out when opening/closing
  48.  
  49. 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.
  50.  
  51. # Window type settings
  52. wintypes:
  53. {
  54. tooltip = { fade = true; shadow = false; };
  55. };
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement