compton: make it more stable
[~bandali/configs] / compton / .config / compton.conf
... / ...
CommitLineData
1# Shadow
2shadow = false; # Enabled client-side shadows on windows.
3no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
4no-dnd-shadow = true; # Don't draw shadows on DND windows.
5clear-shadow = true; # Zero the part of the shadow's mask behind the
6 # window. Fix some weirdness with ARGB windows.
7shadow-radius = 5; # The blur radius for shadows. (default 12)
8shadow-offset-x = -5; # The left offset for shadows. (default -15)
9shadow-offset-y = -5; # 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)
14shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'", "class_g = 'Firefox' && argb" ]; # Exclude conditions for shadows.
15# shadow-exclude = "n:e:Notification";
16#shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ] # Fix dual shadow on some gtk3 powered applications
17shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows
18 # (see also: --detect-rounded-corners)
19
20# Opacity
21menu-opacity = 1.0; # The opacity for menus. (default 1.0)
22#inactive-opacity = 0.9; # Default opacity of inactive windows. (0.0 - 1.0)
23# active-opacity = 0.8; # Default opacity for active windows. (0.0 - 1.0)
24frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0)
25# inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
26 # value of _NET_WM_OPACITY. Bad choice.
27alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
28 # it may result in less X resource usage,
29 # Yet fading may look bad.
30#inactive-dim = 0.5; # Dim inactive windows. (0.0 - 1.0)
31#inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
32# blur-background = true; # Blur background of transparent windows.
33 # Bad performance with X Render backend.
34 # GLX backend is preferred.
35# blur-background-frame = true; # Blur background of opaque windows with transparent
36 # frames as well.
37blur-background-fixed = true; # Do not let blur radius adjust based on window opacity.
38blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
39 # Exclude conditions for background blur.
40
41# Fading
42fading = false; # Fade windows during opacity changes.
43fade-delta = 3; # The time between steps in a fade in milliseconds. (default 10).
44fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
45fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
46# no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
47fade-exclude = [ ]; # Exclude conditions for fading.
48
49# Other
50backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically
51 # much faster but depends on a sane driver.
52mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
53mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus).
54use-ewmh-active-win = true; # 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.
57detect-rounded-corners = false; # Detect rounded corners and treat them as rectangular when --shadow-ignore- shaped is on.
58detect-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.
61refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
62vsync = "drm"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
63 # See man page for more details.
64dbe = false; # Enable DBE painting mode. Rarely needed.
65paint-on-overlay = true; # Painting on X Composite overlay window. Recommended.
66sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
67 # Incompatible with certain VSync methods.
68unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is
69 # detected, to maximize performance for full-screen windows.
70focus-exclude = [ ]; # A list of conditions of windows that should always be considered
71 # focused.
72detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
73 # the same group focused at the same time.
74detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
75invert-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.
78glx-no-stencil = true; # Recommended.
79glx-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.
82glx-swap-method = "4"; # See man page.
83
84# Window type settings
85wintypes:
86{
87 tooltip = { fade = true; shadow = false; opacity = 1; focus = true; };
88 menu = { shadow = false; };
89 dropdown_menu = { shadow = false; };
90 popup_menu = { shadow = false; };
91 utility = { shadow = false; };
92 # fade: Fade the particular type of windows.
93 # shadow: Give those windows shadow
94 # opacity: Default opacity for the type of windows.
95 # focus: Whether to always consider windows of this type focused.
96};
97