Advertisement
jv2112

Compton.conf-Laptop

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