Advertisement
Guest User

compton.conf

a guest
Dec 10th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 6.14 KB | None | 0 0
  1. # vim: filetype=conf
  2. backend = "glx";
  3. paint-on-overlay = true;
  4. glx-no-stencil = true;
  5. glx-no-rebind-pixmap = true;
  6. vsync = "opengl-swc";
  7.  
  8. # Shadow
  9. shadow = true;                  # Enabled client-side shadows on windows.
  10. no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
  11. no-dnd-shadow = true;           # Don't draw shadows on DND windows.
  12. clear-shadow = true;            # Zero the part of the shadow's mask behind the window (experimental).
  13. shadow-radius = 7;              # The blur radius for shadows. (default 12)
  14. shadow-offset-x = -7;           # The left offset for shadows. (default -15)
  15. shadow-offset-y = -7;           # The top offset for shadows. (default -15)
  16. shadow-exclude = [
  17.  "! name~=''",
  18.  "n:e:Notification",
  19.  "n:e:Plank",
  20.  "n:e:Docky",
  21.  "g:e:Synapse",
  22.  "g:e:Kupfer",
  23.  "g:e:WC_Cronograph",
  24.  "g:e:Conky",
  25.  "n:w:*Firefox*",
  26.  "n:w:*Chrome*",
  27.  "n:w:*Chromium*",
  28. no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
  29. # vim: filetype=conf
  30. backend = "glx";
  31. paint-on-overlay = true;
  32. glx-no-stencil = true;
  33. glx-no-rebind-pixmap = true;
  34. vsync = "opengl-swc";
  35.  
  36. # Shadow
  37. shadow = true;                  # Enabled client-side shadows on windows.
  38. no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
  39. # vim: filetype=conf
  40. backend = "glx";
  41. paint-on-overlay = true;
  42. glx-no-stencil = true;
  43. glx-no-rebind-pixmap = true;
  44. vsync = "opengl-swc";
  45.  
  46. # Shadow
  47. shadow = true;                  # Enabled client-side shadows on windows.
  48. no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
  49. no-dnd-shadow = true;           # Don't draw shadows on DND windows.
  50. clear-shadow = true;            # Zero the part of the shadow's mask behind the window (experimental).
  51. shadow-radius = 7;              # The blur radius for shadows. (default 12)
  52. shadow-offset-x = -7;           # The left offset for shadows. (default -15)
  53. shadow-offset-y = -7;           # The top offset for shadows. (default -15)
  54. shadow-exclude = [
  55.  "! name~=''",
  56.  "n:e:Notification",
  57.  "n:e:Plank",
  58.  "n:e:Docky",
  59.  "g:e:Synapse",
  60.  "g:e:Kupfer",
  61.  "g:e:WC_Cronograph",
  62.  "g:e:Conky",
  63.  "n:w:*Firefox*",
  64.  "n:w:*Chrome*",
  65.  "n:w:*Chromium*",
  66.  "class_g ?= 'Notify-osd'",
  67.  "class_g ?= 'Cairo-dock'",
  68.  "class_g ?= 'Xfce4-notifyd'",
  69.  "class_g ?= 'Xfce4-power-manager'"
  70. ];
  71.  
  72. # 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
  73. # vim: filetype=conf
  74. backend = "glx";
  75. paint-on-overlay = true;
  76. glx-no-stencil = true;
  77. glx-no-rebind-pixmap = true;
  78. vsync = "opengl-swc";
  79.  
  80. # Shadow
  81. shadow = true;                  # Enabled client-side shadows on windows.
  82. no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
  83. no-dnd-shadow = true;           # Don't draw shadows on DND windows.
  84. clear-shadow = true;            # Zero the part of the shadow's mask behind the window (experimental).
  85. shadow-radius = 7;              # The blur radius for shadows. (default 12)
  86. shadow-offset-x = -7;           # The left offset for shadows. (default -15)
  87. shadow-offset-y = -7;           # The top offset for shadows. (default -15)
  88. shadow-exclude = [
  89.  "! name~=''",
  90.  "n:e:Notification",
  91.  "n:e:Plank",
  92.  "n:e:Docky",
  93.  "g:e:Synapse",
  94.  "g:e:Kupfer",
  95.  "g:e:WC_Cronograph",
  96.  "g:e:Conky",
  97.  "n:w:*Firefox*",
  98.  "n:w:*Chrome*",
  99.  "n:w:*Chromium*",
  100.  "class_g ?= 'Notify-osd'",
  101.  "class_g ?= 'Cairo-dock'",
  102.  "class_g ?= 'Xfce4-notifyd'",
  103.  "class_g ?= 'Xfce4-power-manager'"
  104. ];
  105.  
  106. # 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
  107. # vim: filetype=conf
  108. backend = "glx";
  109. paint-on-overlay = true;
  110. glx-no-stencil = true;
  111. glx-no-rebind-pixmap = true;
  112. vsync = "opengl-swc";
  113.  
  114. # Shadow
  115. shadow = true;                  # Enabled client-side shadows on windows.
  116. no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
  117. no-dnd-shadow = true;           # Don't draw shadows on DND windows.
  118. clear-shadow = true;            # Zero the part of the shadow's mask behind the window (experimental).
  119. shadow-radius = 7;              # The blur radius for shadows. (default 12)
  120. shadow-offset-x = -7;           # The left offset for shadows. (default -15)
  121. shadow-offset-y = -7;           # The top offset for shadows. (default -15)
  122. shadow-exclude = [
  123.  "! name~=''",
  124.  "n:e:Notification",
  125.  "n:e:Plank",
  126.  "n:e:Docky",
  127.  "g:e:Synapse",
  128.  "g:e:Kupfer",
  129.  "g:e:WC_Cronograph",
  130.  "g:e:Conky",
  131.  "n:w:*Firefox*",
  132.  "n:w:*Chrome*",
  133.  "n:w:*Chromium*",
  134.  "class_g ?= 'Notify-osd'",
  135.  "class_g ?= 'Cairo-dock'",
  136.  "class_g ?= 'Xfce4-notifyd'",
  137.  "class_g ?= 'Xfce4-power-manager'"
  138. ];
  139.  
  140. # 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
  141. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  142. # 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.
  143.  
  144. # Fading
  145. fading = false; # Fade windows during opacity changes.
  146. fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
  147. fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
  148. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  149. #no-fading-openclose = true; # Fade windows in/out when opening/closing
  150.  
  151. 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.
  152.  
  153. # Opacity
  154.  
  155. menu-opacity = 0.9;     # The opacity for menus. (default 1.0)
  156. inactive-opacity = 0.0; # Default opacity of inactive windows (0.0 - 1.0)
  157. active-opacity = 0.85;  # The opacity for active windows
  158. # frame-opacity = 0.8;  # Opacity of window tilebars and borders
  159.  
  160.  
  161. detect-client-opacity = true;
  162.  
  163. # Window type settings
  164. wintypes:
  165. {
  166.   tooltip = { fade = true; shadow = false; opacity = 0.85 };
  167. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement