Advertisement
Algabe

compton.conf

Jan 16th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. ###############################################
  2. # ____ _
  3. # / ___|___ _ __ ___ _ __ | |_ ___ _ __
  4. # | | / _ \| '_ ` _ \| '_ \| __/ _ \| '_ \
  5. # | |__| (_) | | | | | | |_) | || (_) | | | |
  6. # \____\___/|_| |_| |_| .__/ \__\___/|_| |_|
  7. # |_|
  8. ###############################################
  9. #
  10. # Shadow
  11. shadow = true; # Enabled client-side shadows on windows.
  12. no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
  13. no-dnd-shadow = true; # Don't draw shadows on DND windows.
  14. clear-shadow = true; # Zero the part of the shadow's mask behind the
  15.  
  16. shadow-radius = 7; # The blur radius for shadows. (default 12)
  17. shadow-offset-x = -7; # The left offset for shadows. (default -15)
  18. shadow-offset-y = -7; # The top offset for shadows. (default -15)
  19.  
  20. shadow-blue = 0.9; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
  21. shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows.
  22. shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows
  23.  
  24. # Opacity
  25. menu-opacity = 0.9; # The opacity for menus. (default 1.0)
  26. inactive-opacity = 0.9; # Default opacity of inactive windows. (0.0 - 1.0)
  27.  
  28. alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
  29.  
  30. blur-background-fixed = false; # Do not let blur radius adjust based on window opacity.
  31. blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
  32.  
  33. # Fading
  34. fading = true; # Fade windows during opacity changes.
  35. fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
  36. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  37. fade-exclude = [ ]; # Exclude conditions for fading.
  38.  
  39. # Other
  40. backend = "xrender" # Backend to use: "xrender" or "glx". GLX backend is typically
  41.  
  42. mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
  43. mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus).
  44. use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused
  45.  
  46. detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore- shaped is on.
  47. detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window
  48.  
  49. # windows.
  50. refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
  51. vsync = "none"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
  52.  
  53. dbe = false; # Enable DBE painting mode. Rarely needed.
  54. paint-on-overlay = false; # Painting on X Composite overlay window. Recommended.
  55. sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
  56.  
  57. unredir-if-possible = true; # Unredirect all windows if a full-screen opaque window is
  58.  
  59. focus-exclude = [ ]; # A list of conditions of windows that should always be considered
  60.  
  61. detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
  62.  
  63. detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
  64. invert-color-include = [ ]; # Conditions for windows to be painted with inverted color.
  65.  
  66. glx-copy-from-front = false; # Useful with --glx-swap-method,
  67. glx-swap-method = "exchange"; # See man page.
  68.  
  69. # Window type settings
  70. wintypes:
  71. {
  72. tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
  73. # fade: Fade the particular type of windows.
  74. # shadow: Give those windows shadow
  75. # opacity: Default opacity for the type of windows.
  76. # focus: Whether to always consider windows of this type focused.
  77. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement