1 #################################
3 #################################
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.
12 # The blur radius for shadows, in pixels. (defaults to 12)
16 # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
17 # shadow-opacity = .75
19 # The left offset for shadows, in pixels. (defaults to -15)
20 # shadow-offset-x = -15
23 # The top offset for shadows, in pixels. (defaults to -15)
24 # shadow-offset-y = -15
27 # Avoid drawing shadows on dock/panel windows. This option is deprecated,
28 # you should use the *wintypes* option in your config file instead.
30 # no-dock-shadow = false
32 # Don't draw shadows on drag-and-drop windows. This option is deprecated,
33 # you should use the *wintypes* option in your config file instead.
35 # no-dnd-shadow = false
37 # Red color value of shadow (0.0 - 1.0, defaults to 0).
40 # Green color value of shadow (0.0 - 1.0, defaults to 0).
43 # Blue color value of shadow (0.0 - 1.0, defaults to 0).
46 # Do not paint shadows on shaped windows. Note shaped windows
47 # here means windows setting its shape through X Shape extension.
48 # Those using ARGB background is beyond our control.
50 # shadow-exclude = 'bounding_shaped'
52 # shadow-exclude = 'bounding_shaped && !rounded_corners'
55 # shadow-ignore-shaped = ''
57 # Specify a list of conditions of windows that should have no shadow.
60 # shadow-exclude = "n:e:Notification";
64 "name = 'Notification'",
66 "class_g ?= 'Notify-osd'",
67 "class_g = 'Cairo-clock'",
68 "_GTK_FRAME_EXTENTS@:c"
71 # Specify a X geometry that describes the region in which shadow should not
72 # be painted in, such as a dock window region. Use
73 # shadow-exclude-reg = "x10+0+0"
74 # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
76 # shadow-exclude-reg = ""
78 # Crop shadow of a window fully on a particular Xinerama screen to the screen.
79 # xinerama-shadow-crop = false
82 #################################
84 #################################
87 # Fade windows in/out when opening/closing and when opacity changes,
88 # unless no-fading-openclose is used.
92 # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
93 # fade-in-step = 0.028
96 # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
97 # fade-out-step = 0.03
100 # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
103 # Specify a list of conditions of windows that should not be faded.
106 # Do not fade on window open/close.
107 no-fading-openclose = true
109 # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
110 # no-fading-destroyed-argb = false
113 #################################
114 # Transparency / Opacity #
115 #################################
118 # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
119 # inactive-opacity = 1
120 inactive-opacity = 0.8;
122 # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
123 # frame-opacity = 1.0
126 # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
129 # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
130 # inactive-opacity-override = true
131 inactive-opacity-override = false;
133 # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
134 # active-opacity = 1.0
136 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
139 # Specify a list of conditions of windows that should always be considered focused.
141 focus-exclude = [ "class_g = 'Cairo-clock'" ];
143 # Use fixed inactive dim value, instead of adjusting according to window opacity.
144 # inactive-dim-fixed = 1.0
146 # Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
147 # like `50:name *= "Firefox"`. picom-trans is recommended over this.
148 # Note we don't make any guarantee about possible conflicts with other
149 # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
153 "97:class_g = 'Zathura'"
157 #################################
158 # Background-Blurring #
159 #################################
162 # Parameters for background blurring, see the *BLUR* section for more information.
166 # blur-deviation = false
168 # Blur background of semi-transparent / ARGB windows.
169 # Bad in performance, with driver-dependent behavior.
170 # The name of the switch may change without prior notifications.
172 # blur-background = false
174 # Blur background of windows when the window frame is not opaque.
177 # Bad in performance, with driver-dependent behavior. The name may change.
179 # blur-background-frame = false
182 # Use fixed blur strength rather than adjusting according to window opacity.
183 # blur-background-fixed = false
186 # Specify the blur convolution kernel, with the following format:
188 # 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 blur-kern = "3x3box";
194 # Exclude conditions for background blur.
195 # blur-background-exclude = []
196 blur-background-exclude = [
197 "window_type = 'dock'",
198 "window_type = 'desktop'",
199 "_GTK_FRAME_EXTENTS@:c"
202 #################################
204 #################################
206 # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
209 # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
210 # `xrender` is the default one.
215 # Enable/disable VSync.
219 # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
222 # Try to detect WM windows (a non-override-redirect window with no
223 # child that has 'WM_STATE') and mark them as active.
225 # mark-wmwin-focused = false
226 mark-wmwin-focused = true;
228 # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
229 # mark-ovredir-focused = false
230 mark-ovredir-focused = true;
232 # Try to detect windows with rounded corners and don't consider them
233 # shaped windows. The accuracy is not very high, unfortunately.
235 # detect-rounded-corners = false
236 detect-rounded-corners = true;
238 # Detect '_NET_WM_OPACITY' on client windows, useful for window managers
239 # not passing '_NET_WM_OPACITY' of client windows to frame windows.
241 # detect-client-opacity = false
242 detect-client-opacity = true;
244 # Specify refresh rate of the screen. If not specified or 0, picom will
245 # try detecting this with X RandR extension.
250 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
251 # boost performance. This should not be used with
252 # vsync drm/opengl/opengl-oml
253 # as they essentially does sw-opti's job already,
254 # unless you wish to specify a lower refresh rate than the actual value.
258 # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
259 # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
260 # provided that the WM supports it.
262 # use-ewmh-active-win = false
264 # Unredirect all windows if a full-screen opaque window is detected,
265 # to maximize performance for full-screen windows. Known to cause flickering
266 # when redirecting/unredirecting windows.
268 # unredir-if-possible = false
270 # Delay before unredirecting the window, in milliseconds. Defaults to 0.
271 # unredir-if-possible-delay = 0
273 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
274 # unredir-if-possible-exclude = []
276 # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
277 # in the same group focused at the same time.
279 # detect-transient = false
280 detect-transient = true
282 # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
283 # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
284 # detect-transient is enabled, too.
286 # detect-client-leader = false
287 detect-client-leader = true
289 # Resize damaged region by a specific number of pixels.
290 # A positive value enlarges it while a negative one shrinks it.
291 # If the value is positive, those additional pixels will not be actually painted
292 # to screen, only used in blur calculation, and such. (Due to technical limitations,
293 # with use-damage, those pixels will still be incorrectly painted to screen.)
294 # Primarily used to fix the line corruption issues of blur,
295 # in which case you should use the blur radius value here
296 # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
297 # with a 5x5 one you use `--resize-damage 2`, and so on).
298 # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
302 # Specify a list of conditions of windows that should be painted with inverted color.
303 # Resource-hogging, and is not well tested.
305 # invert-color-include = []
307 # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
308 # Might cause incorrect opacity when rendering transparent content (but never
309 # practically happened) and may not work with blur-background.
310 # My tests show a 15% performance boost. Recommended.
312 # glx-no-stencil = false
314 # GLX backend: Avoid rebinding pixmap on window damage.
315 # Probably could improve performance on rapid window content changes,
316 # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
317 # Recommended if it works.
319 # glx-no-rebind-pixmap = false
321 # Disable the use of damage information.
322 # This cause the whole screen to be redrawn everytime, instead of the part of the screen
323 # has actually changed. Potentially degrades the performance, but might fix some artifacts.
324 # The opposing option is use-damage
326 # no-use-damage = false
329 # Use X Sync fence to sync clients' draw calls, to make sure all draw
330 # calls are finished before picom starts drawing. Needed on nvidia-drivers
331 # with GLX backend for some users.
333 # xrender-sync-fence = false
335 # GLX backend: Use specified GLSL fragment shader for rendering window contents.
336 # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
337 # in the source tree for examples.
339 # glx-fshader-win = ''
341 # Force all windows to be painted with blending. Useful if you
342 # have a glx-fshader-win that could turn opaque pixels transparent.
344 # force-win-blend = false
346 # Do not use EWMH to detect fullscreen windows.
347 # Reverts to checking if a window is fullscreen based only on its size and coordinates.
349 # no-ewmh-fullscreen = false
351 # Dimming bright windows so their brightness doesn't exceed this set value.
352 # Brightness of a window is estimated by averaging all pixels in the window,
353 # so this could comes with a performance hit.
354 # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
356 # max-brightness = 1.0
358 # Make transparent windows clip other windows like non-transparent windows do,
359 # instead of blending on top of them.
361 # transparent-clipping = false
363 # Set the log level. Possible values are:
364 # "trace", "debug", "info", "warn", "error"
365 # in increasing level of importance. Case doesn't matter.
366 # If using the "TRACE" log level, it's better to log into a file
367 # using *--log-file*, since it can generate a huge stream of logs.
369 # log-level = "debug"
373 # If *--log-file* is never specified, logs will be written to stderr.
374 # Otherwise, logs will to written to the given file, though some of the early
375 # logs might still be written to the stderr.
376 # When setting this option from the config file, it is recommended to use an absolute path.
378 # log-file = '/path/to/your/log/file'
380 # Show all X errors (for debugging)
381 # show-all-xerrors = false
383 # Write process ID to a file.
384 # write-pid-path = '/path/to/your/log/file'
386 # Window type settings
388 # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
389 # "unknown", "desktop", "dock", "toolbar", "menu", "utility",
390 # "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
391 # "tooltip", "notification", "combo", and "dnd".
393 # Following per window-type options are available: ::
396 # Controls window-type-specific shadow and fade settings.
399 # Controls default opacity of the window type.
402 # Controls whether the window of this type is to be always considered focused.
403 # (By default, all window types except "normal" and "dialog" has this on.)
406 # Controls whether shadow is drawn under the parts of the window that you
407 # normally won't be able to see. Useful when the window has parts of it
408 # transparent, and you want shadows in those areas.
411 # Controls whether this type of windows should cause screen to become
412 # redirected again after been unredirected. If you have unredir-if-possible
413 # set, and doesn't want certain window to cause unnecessary screen redirection,
414 # you can set this to `true`.
418 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
419 dock = { shadow = false; }
420 dnd = { shadow = false; }
421 popup_menu = { opacity = 0.8; }
422 dropdown_menu = { opacity = 0.8; }