Advertisement
Guest User

My compton config

a guest
Jun 22nd, 2014
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. # Shadow
  2. shadow = true; # Enabled client-side shadows on windows.
  3. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
  4. no-dnd-shadow = true; # Don't draw shadows on DND windows.
  5. clear-shadow = true; # Zero the part of the shadow's mask behind the
  6. # window. Fix some weirdness with ARGB windows.
  7. shadow-radius = 12; # The blur radius for shadows. (default 12)
  8. shadow-offset-x = -15; # The left offset for shadows. (default -15)
  9. shadow-offset-y = -15; # The top offset for shadows. (default -15)
  10. shadow-opacity = 0.75; # The translucency for shadows. (default .75)
  11. shadow-red = 0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
  12. shadow-green = 0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
  13. shadow-blue = 0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
  14. shadow-exclude = [ # Exclude conditions for shadows.
  15. "! name~=''",
  16. "n:e:Notification",
  17. "n:e:Plank",
  18. "n:e:Docky",
  19. "g:e:Synapse",
  20. "g:e:Kupfer",
  21. "g:e:Conky",
  22. "n:w:*Firefox*",
  23. "n:w:*Chrome*",
  24. "n:w:*Chromium*",
  25. "class_g ?= 'Notify-osd'",
  26. "class_g ?= 'Cairo-dock'",
  27. "class_g ?= 'Xfce4-notifyd'",
  28. "class_g ?= 'Xfce4-power-manager'"
  29. ];
  30. # shadow-exclude = "n:e:Notification";
  31. shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows
  32. # (see also: --detect-rounded-corners)
  33. # Opacity
  34. menu-opacity = 1.0; # The opacity for menus. (default 1.0)
  35. inactive-opacity = 0; # Default opacity of inactive windows. (0.0 - 1.0)
  36. # active-opacity = 0; # Default opacity for active windows. (0.0 - 1.0)
  37. # frame-opacity = 0.1; # Opacity of window titlebars and borders. (0.1 - 1.0)
  38. # inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
  39. # value of _NET_WM_OPACITY. Bad choice.
  40. alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
  41. # it may result in less X resource usage,
  42. # Yet fading may look bad.
  43. # inactive-dim = 0; # Dim inactive windows. (0.0 - 1.0)
  44. # inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
  45. # blur-background = true; # Blur background of transparent windows.
  46. # Bad performance with X Render backend.
  47. # GLX backend is preferred.
  48. #blur-background-frame = true; # Blur background of opaque windows with transparent
  49. # frames as well.
  50. blur-background-fixed = false; # Do not let blur radius adjust based on window opacity.
  51. blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
  52. # Exclude conditions for background blur.
  53. # Fading
  54. fading = true; # Fade windows during opacity changes.
  55. fade-delta = 3; # The time between steps in a fade in milliseconds. (default 10).
  56. fade-in-step = 0.028; # Opacity change between steps while fading in. (default 0.028).
  57. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  58. # no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
  59. fade-exclude = [ ]; # Exclude conditions for fading.
  60.  
  61. # Other
  62. backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically
  63. # much faster but depends on a sane driver.
  64. mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
  65. mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g.menus).
  66. use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused
  67. # instead of using FocusIn/Out events. Usually more reliable but
  68. # depends on a EWMH-compliant WM.
  69. detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore
  70. # shaped is on.
  71. detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window
  72. # managers not passing _NET_WM_OPACITY of client windows to frame
  73. # windows.
  74. refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
  75. vsync = "opengl-swc"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc","openglmswc"
  76. # See man page for more details.
  77. dbe = false; # Enable DBE painting mode. Rarely needed.
  78. paint-on-overlay = false; # Painting on X Composite overlay window. Recommended.
  79. sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
  80. # Incompatible with certain VSync methods.
  81. unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is
  82. # detected, to maximize performance for full-screen windows.
  83. focus-exclude = [ ]; # A list of conditions of windows that should always be considered
  84. # focused.
  85. detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
  86. # the same group focused at the same time.
  87. detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
  88. invert-color-include = [ ]; # Conditions for windows to be painted with inverted color.
  89.  
  90. # GLX backend # GLX backend fine-tune options. See man page for more info.
  91. # glx-no-stencil = true; # Recommended.
  92. glx-copy-from-front = false; # Useful with --glx-swap-method,
  93. # glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
  94. # glx-no-rebind-pixmap = true; # Recommended if it works.
  95. glx-swap-method = "undefined"; # See man page.
  96.  
  97. # Window type settings
  98. wintypes:
  99. {
  100. tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true;
  101. };
  102. # fade: Fade the particular type of windows.
  103. # shadow: Give those windows shadow
  104. # opacity: Default opacity for the type of windows.
  105. # focus: Whether to always consider windows of this type focused.
  106. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement