Debian Codegraph @

tests/configs/parsing_test.conf

raw symbols SCIP
1 #################################
2 # Shadows #
3 #################################
4
5
6 # Enabled client-side shadows on windows. Note desktop windows
7 # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
8 # unless explicitly requested using the wintypes option.
9 #
10 # shadow = false
11 shadow = true;
12
13 # The blur radius for shadows, in pixels. (defaults to 12)
14 # shadow-radius = 12
15 shadow-radius = 7;
16
17 # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
18 # shadow-opacity = .75
19
20 # The left offset for shadows, in pixels. (defaults to -15)
21 # shadow-offset-x = -15
22 shadow-offset-x = -7;
23
24 # The top offset for shadows, in pixels. (defaults to -15)
25 # shadow-offset-y = -15
26 shadow-offset-y = -7;
27
28 # Red color value of shadow (0.0 - 1.0, defaults to 0).
29 # shadow-red = 0
30
31 # Green color value of shadow (0.0 - 1.0, defaults to 0).
32 # shadow-green = 0
33
34 # Blue color value of shadow (0.0 - 1.0, defaults to 0).
35 # shadow-blue = 0
36
37 # Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
38 # shadow-color = "#000000"
39
40 # Specify a list of conditions of windows that should have no shadow.
41 #
42 # examples:
43 # shadow-exclude = "n:e:Notification";
44 #
45 # shadow-exclude = []
46 shadow-exclude = [
47 "name = 'Notification'",
48 "class_g = 'Conky'",
49 "class_g ?= 'Notify-osd'",
50 "class_g *= 'Cairo-clock'",
51 "class_g %= 'a'",
52 "class_g ~= 'a'",
53 "_GTK_FRAME_EXTENTS@:c",
54 "class_g = '\x64\\'\"\a\b\f\n\r\t\v\o11'"
55 ];
56
57 # Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
58 # clip-shadow-above = []
59
60 # Crop shadow of a window fully on a particular monitor to that monitor. This is
61 # currently implemented using the X RandR extension.
62 # crop-shadow-to-monitor = false
63
64
65 #################################
66 # Fading #
67 #################################
68
69
70 # Fade windows in/out when opening/closing and when opacity changes,
71 # unless no-fading-openclose is used.
72 # fading = false
73 fading = true;
74
75 # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
76 # fade-in-step = 0.028
77 fade-in-step = 0.03;
78
79 # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
80 # fade-out-step = 0.03
81 fade-out-step = 0.03;
82
83 # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
84 # fade-delta = 10
85
86 # Specify a list of conditions of windows that should not be faded.
87 # fade-exclude = []
88
89 # Do not fade on window open/close.
90 # no-fading-openclose = false
91
92 # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
93 # no-fading-destroyed-argb = false
94
95
96 #################################
97 # Transparency / Opacity #
98 #################################
99
100
101 # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
102 # inactive-opacity = 1
103 inactive-opacity = 0.8;
104
105 # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
106 # frame-opacity = 1.0
107 frame-opacity = 0.7;
108
109 # Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
110 # inactive-opacity-override = true
111 inactive-opacity-override = false;
112
113 # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
114 # active-opacity = 1.0
115
116 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
117 # inactive-dim = 0.0
118
119 # Specify a list of conditions of windows that should never be considered focused.
120 # focus-exclude = []
121 focus-exclude = [ "class_g = 'Cairo-clock'" ];
122
123 # Use fixed inactive dim value, instead of adjusting according to window opacity.
124 # inactive-dim-fixed = 1.0
125
126 # Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
127 # like `50:name *= "Firefox"`. picom-trans is recommended over this.
128 # Note we don't make any guarantee about possible conflicts with other
129 # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
130 # example:
131 # opacity-rule = [ "80:class_g = 'URxvt'" ];
132 #
133 # opacity-rule = []
134
135
136 #################################
137 # Corners #
138 #################################
139
140 # Sets the radius of rounded window corners. When > 0, the compositor will
141 # round the corners of windows. Does not interact well with
142 # `transparent-clipping`.
143 corner-radius = 0
144
145 # Exclude conditions for rounded corners.
146 rounded-corners-exclude = [
147 "window_type = 'dock'",
148 "window_type = 'desktop'"
149 ];
150
151 corner-radius-rules = [
152 "10:window_type = 'dock'",
153 "0x32:window_type = 'desktop'"
154 ];
155
156
157 #################################
158 # Background-Blurring #
159 #################################
160
161
162 # Parameters for background blurring, see the *BLUR* section for more information.
163 # blur-method =
164 # blur-size = 12
165 #
166 # blur-deviation = false
167 #
168 # blur-strength = 5
169
170 # Blur background of semi-transparent / ARGB windows.
171 # Bad in performance, with driver-dependent behavior.
172 # The name of the switch may change without prior notifications.
173 #
174 # blur-background = false
175
176 # Blur background of windows when the window frame is not opaque.
177 # Implies:
178 # blur-background
179 # Bad in performance, with driver-dependent behavior. The name may change.
180 #
181 # blur-background-frame = false
182
183
184 # Use fixed blur strength rather than adjusting according to window opacity.
185 # blur-background-fixed = false
186
187
188 # Specify the blur convolution kernel, with the following format:
189 # example:
190 # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
191 #
192 # blur-kern = ""
193 blur-kern = "3x3box";
194
195
196 # Exclude conditions for background blur.
197 # blur-background-exclude = []
198 blur-background-exclude = [
199 "window_type = 'dock'",
200 "window_type = 'desktop'",
201 "_GTK_FRAME_EXTENTS@:c"
202 ];
203
204 #################################
205 # General Settings #
206 #################################
207
208 # Enable remote control via D-Bus. See the man page for more details.
209 # dbus = true
210
211 # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
212 # daemon = false
213
214 # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
215 # `xrender` is the default one.
216 #
217 # backend = "glx"
218 backend = "xrender";
219
220 # Enable/disable VSync.
221 # vsync = false
222 vsync = true;
223
224 # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
225 # dbus = false
226
227 # Try to detect WM windows (a non-override-redirect window with no
228 # child that has 'WM_STATE') and mark them as active.
229 #
230 # mark-wmwin-focused = false
231 mark-wmwin-focused = true;
232
233 # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
234 # mark-ovredir-focused = false
235 mark-ovredir-focused = true;
236
237 # Try to detect windows with rounded corners and don't consider them
238 # shaped windows. The accuracy is not very high, unfortunately.
239 #
240 # detect-rounded-corners = false
241 detect-rounded-corners = true;
242
243 # Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
244 # not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
245 #
246 # detect-client-opacity = false
247 detect-client-opacity = true;
248
249 # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
250 # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
251 # provided that the WM supports it.
252 #
253 # use-ewmh-active-win = false
254
255 # Unredirect all windows if a full-screen opaque window is detected,
256 # to maximize performance for full-screen windows. Known to cause flickering
257 # when redirecting/unredirecting windows.
258 #
259 # unredir-if-possible = false
260
261 # Delay before unredirecting the window, in milliseconds. Defaults to 0.
262 # unredir-if-possible-delay = 0
263
264 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
265 # unredir-if-possible-exclude = []
266
267 # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
268 # in the same group focused at the same time.
269 #
270 # detect-transient = false
271 detect-transient = true;
272
273 # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
274 # group focused at the same time. This usually means windows from the same application
275 # will be considered focused or unfocused at the same time.
276 # 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
277 #
278 # detect-client-leader = false
279
280 # Resize damaged region by a specific number of pixels.
281 # A positive value enlarges it while a negative one shrinks it.
282 # If the value is positive, those additional pixels will not be actually painted
283 # to screen, only used in blur calculation, and such. (Due to technical limitations,
284 # with use-damage, those pixels will still be incorrectly painted to screen.)
285 # Primarily used to fix the line corruption issues of blur,
286 # in which case you should use the blur radius value here
287 # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
288 # with a 5x5 one you use `--resize-damage 2`, and so on).
289 # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
290 #
291 # resize-damage = 1
292
293 # Specify a list of conditions of windows that should be painted with inverted color.
294 # Resource-hogging, and is not well tested.
295 #
296 # invert-color-include = []
297
298 # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
299 # Might cause incorrect opacity when rendering transparent content (but never
300 # practically happened) and may not work with blur-background.
301 # My tests show a 15% performance boost. Recommended.
302 #
303 # glx-no-stencil = false
304
305 # GLX backend: Avoid rebinding pixmap on window damage.
306 # Probably could improve performance on rapid window content changes,
307 # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
308 # Recommended if it works.
309 #
310 # glx-no-rebind-pixmap = false
311
312 # Disable the use of damage information.
313 # This cause the whole screen to be redrawn every time, instead of the part of the screen
314 # has actually changed. Potentially degrades the performance, but might fix some artifacts.
315 # The opposing option is use-damage
316 #
317 # no-use-damage = false
318 use-damage = true;
319
320 # Use X Sync fence to sync clients' draw calls, to make sure all draw
321 # calls are finished before picom starts drawing. Needed on nvidia-drivers
322 # with GLX backend for some users.
323 #
324 # xrender-sync-fence = false
325
326 # GLX backend: Use specified GLSL fragment shader for rendering window contents.
327 # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
328 # in the source tree for examples.
329 #
330 # glx-fshader-win = ""
331
332 # Force all windows to be painted with blending. Useful if you
333 # have a glx-fshader-win that could turn opaque pixels transparent.
334 #
335 # force-win-blend = false
336
337 # Do not use EWMH to detect fullscreen windows.
338 # Reverts to checking if a window is fullscreen based only on its size and coordinates.
339 #
340 # no-ewmh-fullscreen = false
341
342 # Dimming bright windows so their brightness doesn't exceed this set value.
343 # Brightness of a window is estimated by averaging all pixels in the window,
344 # so this could comes with a performance hit.
345 # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
346 #
347 # max-brightness = 1.0
348
349 # Make transparent windows clip other windows like non-transparent windows do,
350 # instead of blending on top of them.
351 #
352 # transparent-clipping = false
353
354 # Set the log level. Possible values are:
355 # "trace", "debug", "info", "warn", "error"
356 # in increasing level of importance. Case doesn't matter.
357 # If using the "TRACE" log level, it's better to log into a file
358 # using *--log-file*, since it can generate a huge stream of logs.
359 #
360 # log-level = "debug"
361 log-level = "warn";
362
363 # Set the log file.
364 # If *--log-file* is never specified, logs will be written to stderr.
365 # Otherwise, logs will to written to the given file, though some of the early
366 # logs might still be written to the stderr.
367 # When setting this option from the config file, it is recommended to use an absolute path.
368 #
369 # log-file = "/path/to/your/log/file"
370
371 # Show all X errors (for debugging)
372 # show-all-xerrors = false
373
374 # Write process ID to a file.
375 # write-pid-path = "/path/to/your/log/file"
376
377 # Window type settings
378 #
379 # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
380 # "unknown", "desktop", "dock", "toolbar", "menu", "utility",
381 # "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
382 # "tooltip", "notification", "combo", and "dnd".
383 #
384 # Following per window-type options are available: ::
385 #
386 # fade, shadow:::
387 # Controls window-type-specific shadow and fade settings.
388 #
389 # opacity:::
390 # Controls default opacity of the window type.
391 #
392 # focus:::
393 # Controls whether the window of this type is to be always considered focused.
394 # (By default, all window types except "normal" and "dialog" has this on.)
395 #
396 # full-shadow:::
397 # Controls whether shadow is drawn under the parts of the window that you
398 # normally won't be able to see. Useful when the window has parts of it
399 # transparent, and you want shadows in those areas.
400 #
401 # clip-shadow-above:::
402 # Controls whether shadows that would have been drawn above the window should
403 # be clipped. Useful for dock windows that should have no shadow painted on top.
404 #
405 # redir-ignore:::
406 # Controls whether this type of windows should cause screen to become
407 # redirected again after been unredirected. If you have unredir-if-possible
408 # set, and doesn't want certain window to cause unnecessary screen redirection,
409 # you can set this to `true`.
410 #
411 wintypes:
412 {
413 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
414 dock = { shadow = false; clip-shadow-above = true; }
415 dnd = { shadow = false; }
416 popup_menu = { opacity = 0.8; }
417 dropdown_menu = { opacity = 0.8; }
418 };
419
420 window-shader-fg-rule =
421 [
422 "shader.frag:name = 'test'",
423 " shader.frag :name = 'a'",
424 "default:name = 'b'"
425 ]
426
427 animations = ({
428 triggers = ["close", "hide"];
429 offset-y = {
430 start = 0;
431 duration = 0.2;
432 end = "- window-height - window-y";
433 };
434 opacity = 1;
435 }, {
436 triggers = ["open"];
437 preset = "slide-in";
438 duration = 1;
439 }, {
440 triggers = ["open"];
441 preset = "slide-out";
442 duration = 1;
443 }, {
444 triggers = ["open"];
445 preset = "fly-in";
446 duration = 1;
447 }, {
448 triggers = ["open"];
449 preset = "fly-out";
450 duration = 1;
451 }, {
452 triggers = ["open"];
453 preset = "appear";
454 duration = 1;
455 }, {
456 triggers = ["open"];
457 preset = "disappear";
458 duration = 1;
459 });