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.
13 # The blur radius for shadows, in pixels. (defaults to 12)
17 # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
18 # shadow-opacity = .75
21 # The left offset for shadows, in pixels. (defaults to -15)
22 # shadow-offset-x = -15
25 # The top offset for shadows, in pixels. (defaults to -15)
26 # shadow-offset-y = -15
29 # Red color value of shadow (0.0 - 1.0, defaults to 0).
32 # Green color value of shadow (0.0 - 1.0, defaults to 0).
35 # Blue color value of shadow (0.0 - 1.0, defaults to 0).
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"
41 # Specify a list of conditions of windows that should have no shadow.
44 # shadow-exclude = "n:e:Notification";
49 "name = 'Notification'",
51 "class_g ?= 'Notify-osd'",
52 "class_g = 'Cairo-clock'",
53 "argb && ! window_type *= 'menu'",
54 "_GTK_FRAME_EXTENTS@:c"
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.
62 # shadow-exclude-reg = ""
64 # Crop shadow of a window fully on a particular Xinerama screen to the screen.
65 # xinerama-shadow-crop = false
68 #################################
70 #################################
73 # Fade windows in/out when opening/closing and when opacity changes,
74 # unless no-fading-openclose is used.
78 # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
79 # fade-in-step = 0.028
83 # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
84 # fade-out-step = 0.03
88 # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
93 # Specify a list of conditions of windows that should not be faded.
96 # Do not fade on window open/close.
97 # no-fading-openclose = false
99 # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
100 # no-fading-destroyed-argb = false
103 #################################
104 # Transparency / Opacity #
105 #################################
108 # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
109 # inactive-opacity = 1
110 inactive-opacity = 0.8;
112 # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
113 # frame-opacity = 1.0
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;
120 # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
121 # active-opacity = 1.0
122 #active-opacity = 0.95
124 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
127 # Specify a list of conditions of windows that should always be considered focused.
129 focus-exclude = [ "class_g = 'Cairo-clock'" ];
131 # Use fixed inactive dim value, instead of adjusting according to window opacity.
132 # inactive-dim-fixed = 1.0
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.
139 # opacity-rule = [ "80:class_g = 'URxvt'" ];
144 #################################
146 #################################
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`.
153 # Exclude conditions for rounded corners.
154 rounded-corners-exclude = [
155 "window_type = 'dock'",
156 "window_type = 'desktop'"
160 #################################
161 # Background-Blurring #
162 #################################
165 # Parameters for background blurring, see the *BLUR* section for more information.
169 # blur-deviation = false
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.
177 # blur-background = false
179 # Blur background of windows when the window frame is not opaque.
182 # Bad in performance, with driver-dependent behavior. The name may change.
184 # blur-background-frame = false
187 # Use fixed blur strength rather than adjusting according to window opacity.
188 # blur-background-fixed = false
191 # Specify the blur convolution kernel, with the following format:
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";
196 blur-kern = "3x3box";
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"
207 #################################
209 #################################
211 # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
214 # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
215 # `xrender` is the default one.
218 # backend = "xrender";
220 # Enable/disable VSync.
224 # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
227 # Try to detect WM windows (a non-override-redirect window with no
228 # child that has 'WM_STATE') and mark them as active.
230 # mark-wmwin-focused = false
231 mark-wmwin-focused = true;
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;
237 # Try to detect windows with rounded corners and don't consider them
238 # shaped windows. The accuracy is not very high, unfortunately.
240 # detect-rounded-corners = false
241 detect-rounded-corners = true;
243 # Detect '_NET_WM_OPACITY' on client windows, useful for window managers
244 # not passing '_NET_WM_OPACITY' of client windows to frame windows.
246 # detect-client-opacity = false
247 detect-client-opacity = true;
249 # Specify refresh rate of the screen. If not specified or 0, picom will
250 # try detecting this with X RandR extension.
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.
259 # use-ewmh-active-win = false
260 use-ewmh-active-win = true
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.
266 # unredir-if-possible = false
268 # Delay before unredirecting the window, in milliseconds. Defaults to 0.
269 # unredir-if-possible-delay = 0
271 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
272 # unredir-if-possible-exclude = []
274 # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
275 # in the same group focused at the same time.
277 # detect-transient = false
278 detect-transient = true;
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.
284 # detect-client-leader = false
285 detect-client-leader = true;
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.
300 # Specify a list of conditions of windows that should be painted with inverted color.
301 # Resource-hogging, and is not well tested.
303 # invert-color-include = []
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.
310 # glx-no-stencil = false
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.
317 # glx-no-rebind-pixmap = false
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
324 # no-use-damage = false
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.
331 # xrender-sync-fence = false
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.
337 # glx-fshader-win = ""
339 # Force all windows to be painted with blending. Useful if you
340 # have a glx-fshader-win that could turn opaque pixels transparent.
342 # force-win-blend = false
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.
347 # no-ewmh-fullscreen = false
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)
354 # max-brightness = 1.0
356 # Make transparent windows clip other windows like non-transparent windows do,
357 # instead of blending on top of them.
359 # transparent-clipping = false
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.
367 # log-level = "debug"
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.
376 # log-file = "/path/to/your/log/file"
378 # Show all X errors (for debugging)
379 # show-all-xerrors = false
381 # Write process ID to a file.
382 # write-pid-path = "/path/to/your/log/file"
384 # Window type settings
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".
391 # Following per window-type options are available: ::
394 # Controls window-type-specific shadow and fade settings.
397 # Controls default opacity of the window type.
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.)
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.
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`.
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; }