2016-03-31 02:03:55 +00:00
|
|
|
# Shadow
|
|
|
|
shadow = true; # Enabled client-side shadows on windows.
|
|
|
|
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
|
2016-12-04 13:53:31 +00:00
|
|
|
no-dnd-shadow = false; # Don't draw shadows on DND windows.
|
2016-03-31 02:03:55 +00:00
|
|
|
clear-shadow = true; # Zero the part of the shadow's mask behind the
|
|
|
|
# window. Fix some weirdness with ARGB windows.
|
|
|
|
shadow-radius = 12; # The blur radius for shadows. (default 12)
|
|
|
|
shadow-offset-x = -16; # The left offset for shadows. (default -15)
|
|
|
|
shadow-offset-y = -16; # The top offset for shadows. (default -15)
|
|
|
|
shadow-opacity = 0.65; # The translucency for shadows. (default .75)
|
|
|
|
# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
|
|
|
|
# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
|
|
|
|
# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
|
2018-03-14 02:07:57 +00:00
|
|
|
shadow-exclude = [ "class_g = 'slop'" ]; # Exclude conditions for shadows.
|
2016-12-04 13:53:31 +00:00
|
|
|
shadow-ignore-shaped = false; # Avoid drawing shadow on all shaped windows
|
2016-03-31 02:03:55 +00:00
|
|
|
# (see also: --detect-rounded-corners)
|
|
|
|
|
|
|
|
# Opacity
|
|
|
|
menu-opacity = 0.9; # The opacity for menus. (default 1.0)
|
2016-08-03 16:11:56 +00:00
|
|
|
inactive-opacity = 0.8; # Default opacity of inactive windows. (0.0 - 1.0)
|
2016-03-31 02:03:55 +00:00
|
|
|
active-opacity = 1.0; # Default opacity for active windows. (0.0 - 1.0)
|
|
|
|
frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0)
|
|
|
|
inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
|
|
|
|
# value of _NET_WM_OPACITY. Bad choice.
|
2018-03-29 15:09:57 +00:00
|
|
|
opacity-rule = [
|
|
|
|
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
|
|
|
];
|
2016-03-31 02:03:55 +00:00
|
|
|
alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
|
|
|
|
# it may result in less X resource usage,
|
|
|
|
# Yet f ading may look bad.
|
|
|
|
# inactive-dim = 0.2; # Dim inactive windows. (0.0 - 1.0)
|
|
|
|
#inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
|
2016-08-03 16:11:56 +00:00
|
|
|
inactive-opacity-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
|
2016-03-31 02:03:55 +00:00
|
|
|
blur-background = true; # Blur background of transparent windows.
|
2018-02-22 12:44:00 +00:00
|
|
|
blur-background-exclude = [ "class_g = 'Peek'", "class_g = 'Onboard'", "class_g = 'slop'" ];
|
2016-12-04 13:53:31 +00:00
|
|
|
blur-background-frame = false; # Blur background of opaque windows with transparent
|
2016-03-31 02:03:55 +00:00
|
|
|
# frames as well.
|
|
|
|
blur-background-fixed = true; # Do not let blur radius adjust based on window opacity.
|
|
|
|
# Exclude conditions for background blur.
|
2016-09-12 22:14:23 +00:00
|
|
|
# python compton-convgen.py --dump-compton gaussian 9 -f=sigma=10
|
2017-01-16 16:39:35 +00:00
|
|
|
blur-kern = "9,9,0.852144,0.882497,0.904837,0.918512,0.923116,0.918512,0.904837,0.882497,0.852144,0.882497,0.913931,0.937067,0.951229,0.955997,0.951229,0.937067,0.913931,0.882497,0.904837,0.937067,0.960789,0.975310,0.980199,0.975310,0.960789,0.937067,0.904837,0.918512,0.951229,0.975310,0.990050,0.995012,0.990050,0.975310,0.951229,0.918512,0.923116,0.955997,0.980199,0.995012,0.995012,0.980199,0.955997,0.923116,0.918512,0.951229,0.975310,0.990050,0.995012,0.990050,0.975310,0.951229,0.918512,0.904837,0.937067,0.960789,0.975310,0.980199,0.975310,0.960789,0.937067,0.904837,0.882497,0.913931,0.937067,0.951229,0.955997,0.951229,0.937067,0.913931,0.882497,0.852144,0.882497,0.904837,0.918512,0.923116,0.918512,0.904837,0.882497,0.852144"
|
2016-09-12 22:14:23 +00:00
|
|
|
|
2016-03-31 02:03:55 +00:00
|
|
|
# Fading
|
|
|
|
fading = true; # Fade windows during opacity changes.
|
|
|
|
# fade-delta = 16; # The time between steps in a fade in milliseconds. (default 10).
|
2016-08-03 16:11:56 +00:00
|
|
|
fade-in-step = 0.025; # Opacity change between steps while fading in. (default 0.028).
|
|
|
|
fade-out-step = 0.02; # Opacity change between steps while fading out. (default 0.03).
|
2016-03-31 02:03:55 +00:00
|
|
|
# no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
|
|
|
|
# fade-exclude = [ ]; # Exclude conditions for fading.
|
|
|
|
|
|
|
|
# Other
|
|
|
|
backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically
|
|
|
|
# much faster but depends on a sane driver.
|
|
|
|
mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
|
|
|
|
mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus).
|
2018-03-14 02:07:57 +00:00
|
|
|
use-ewmh-active-win = true; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused
|
2016-03-31 02:03:55 +00:00
|
|
|
# instead of using FocusIn/Out events. Usually more reliable but
|
|
|
|
# depends on a EWMH-compliant WM.
|
2018-03-14 02:07:57 +00:00
|
|
|
detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
2016-03-31 02:03:55 +00:00
|
|
|
detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window
|
|
|
|
# managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
|
|
|
refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
|
|
|
|
vsync = "none"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
|
|
|
|
# See man page for more details.
|
|
|
|
dbe = false; # Enable DBE painting mode. Rarely needed.
|
|
|
|
paint-on-overlay = true; # Painting on X Composite overlay window. Recommended.
|
|
|
|
sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
|
|
|
|
# Incompatible with certain VSync methods.
|
|
|
|
unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is
|
|
|
|
# detected, to maximize performance for full-screen windows.
|
2016-09-01 13:15:31 +00:00
|
|
|
focus-exclude = [ "i:ai:chromium" ]; # A list of conditions of windows that should always be considered focused.
|
2016-03-31 02:03:55 +00:00
|
|
|
detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
|
|
|
|
# the same group focused at the same time.
|
|
|
|
detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
|
|
|
|
invert-color-include = [ ]; # Conditions for windows to be painted with inverted color.
|
|
|
|
|
|
|
|
# GLX backend # GLX backend fine-tune options. See man page for more info.
|
|
|
|
glx-no-stencil = true; # Recommended.
|
|
|
|
glx-copy-from-front = false; # Useful with --glx-swap-method,
|
|
|
|
# glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
|
|
|
|
# glx-no-rebind-pixmap = true; # Recommended if it works.
|
|
|
|
glx-swap-method = "undefined"; # See man page.
|
|
|
|
|
|
|
|
# Window type settings
|
|
|
|
wintypes:
|
|
|
|
{
|
2016-12-04 13:53:31 +00:00
|
|
|
tooltip = { fade = true; shadow = false; opacity = 1; focus = true; };
|
2016-03-31 02:03:55 +00:00
|
|
|
# fade: Fade the particular type of windows.
|
|
|
|
# shadow: Give those windows shadow
|
|
|
|
# opacity: Default opacity for the type of windows.
|
|
|
|
# focus: Whether to always consider windows of this type focused.
|
|
|
|
};
|