Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. ############################################################
  2. # Backend
  3. ############################################################
  4.  
  5. # Fix current bug on XFT font lag
  6. # https://wiki.archlinux.org/index.php/Compton#Lag_when_using_xft_fonts
  7. # https://github.com/chjj/compton/issues/152
  8. #xrender-sync = true;
  9. #xrender-sync-fence = true;
  10.  
  11. # Backend to use: "xrender" or "glx".
  12. # GLX backend is typically much faster but depends on a sane driver.
  13. backend = "glx";
  14.  
  15. ###
  16. ### TODO: bnchmark with agar.io CPU usage
  17. ###
  18.  
  19. ############################################################
  20. # Vsync
  21. ############################################################
  22.  
  23. # vsync guide
  24. # https://github.com/chjj/compton/wiki/vsync-guide
  25. # opengl-swc or opengl-mswc
  26. #vsync = "opengl-swc";
  27. #vsync = "drm";
  28.  
  29.  
  30. ############################################################
  31. # GLX backend
  32. ############################################################
  33.  
  34. # May have either positive or negative effect on performance.
  35. # Most compositors paints on the overlay windows nowadays, though.
  36. #paint-on-overlay = true;
  37.  
  38. # Usually increases performance quite significantly (around 15%).
  39. # Its only problem I currently know is a theoretical risk of repainting
  40. # a single area for multiple times. I have never seen this happening, however.
  41. #glx-no-stencil = true;
  42.  
  43.  
  44.  
  45. # has an effect very similar with --glx-use-copysubbuffermesa,
  46. # so they shouldn’t be enabled together.
  47. # There are 3 possible values, undefined, exchange, and copy.
  48. # 'copy' is the fastest, but it doesn’t work with most drivers
  49. # (in particular, it won’t work with "Allow Flipping" on in your driver configuration).
  50. # 'exchange' is slightly slower, but works if the driver is indeed using
  51. # exchange buffer swap with 2 buffers only.
  52. # 'undefined' is the slowest one, and the default value.
  53. #glx-swap-method = "undefined";
  54.  
  55. # is similar in effect with --glx-use-copysubbuffermesa and --glx-swap-method,
  56. # so only one of the three should be used.
  57. # It generally performs much worse than
  58. # --glx-use-copysubbuffermesa and --glx-swap-method.
  59. #glx-copy-from-front = true;
  60.  
  61. # should work on most drivers (except LLVMpipe),
  62. # and is useful if you have a window with content rapidly changing.
  63. #glx-no-rebind-pixmap = true;
  64.  
  65.  
  66.  
  67. ## Soften the window and workspace changes
  68. #fading = true;
  69. #fade-in-step = 0.1;
  70. #fade-out-step = 0.1;
  71.  
  72. # shadow ransparency
  73. #shadow-opacity = 0.5;
  74. #shadow-red = 0.0;
  75. #shadow-green = 0.0;
  76. #shadow-blue = 0.0;
  77.  
  78.  
  79. ## transparent borders are pretty okay
  80. #frame-opacity = 0.5;
  81.  
  82. ## Keep the shadows tight
  83. #shadow = true;
  84. #shadow-radius = 4;
  85. #shadow-offset-x = -2;
  86. #shadow-offset-y = -2;
  87. #no-dock-shadow = true;
  88. #no-dnd-shadow = true;
  89. #shadow-exclude = [
  90. # "name = 'noshadow'",
  91. # "class_g = 'lemonbar'"
  92. #];
  93.  
  94.  
  95.  
  96. ## Extras
  97. #use-ewmh-active-win = false;
  98. detect-client-opacity = true;
  99. #sw-opti = true;
  100. detect-transient = true;
  101. detect-client-leader = true;
  102. #shadow-ignore-shaped = true;
  103. #detect-rounded-corners = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement