Commit | Line | Data |
---|---|---|
e6d88f53 AB |
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 = 5; # The blur radius for shadows. (default 12) | |
8 | shadow-offset-x = -5; # The left offset for shadows. (default -15) | |
9 | shadow-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) | |
14 | shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'" ]; # 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 | |
17 | shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows | |
18 | # (see also: --detect-rounded-corners) | |
19 | ||
20 | # Opacity | |
21 | menu-opacity = 0.9; # 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) | |
24 | frame-opacity = 0.7; # 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. | |
27 | alpha-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. | |
37 | blur-background-fixed = false; # Do not let blur radius adjust based on window opacity. | |
38 | blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; | |
39 | # Exclude conditions for background blur. | |
40 | ||
41 | # Fading | |
42 | fading = true; # Fade windows during opacity changes. | |
43 | fade-delta = 3; # The time between steps in a fade in milliseconds. (default 10). | |
44 | fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028). | |
45 | fade-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. | |
47 | fade-exclude = [ ]; # Exclude conditions for fading. | |
48 | ||
49 | # Other | |
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 = 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. | |
57 | detect-rounded-corners = false; # 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 = "drm"; # "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 = true; # 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 | }; | |
93 |