Advertisement
Guest User

Compton

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