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