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
20 # The left offset for shadows, in pixels. (defaults to -15)
21 # shadow-offset-x = -15
24 # The top offset for shadows, in pixels. (defaults to -15)
25 # shadow-offset-y = -15
28 # Red color value of shadow (0.0 - 1.0, defaults to 0).
31 # Green color value of shadow (0.0 - 1.0, defaults to 0).
34 # Blue color value of shadow (0.0 - 1.0, defaults to 0).
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"
40 # Specify a list of conditions of windows that should have no shadow.
43 # shadow-exclude = "n:e:Notification";
47 "name = 'Notification'",
49 "class_g ?= 'Notify-osd'",
50 "class_g = 'Cairo-clock'",
51 "_GTK_FRAME_EXTENTS@:c"
54 # Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
55 # clip-shadow-above = []
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 monitor to that monitor. This is
65 # currently implemented using the X RandR extension.
66 # crop-shadow-to-monitor = false
69 #################################
71 #################################
74 # Fade windows in/out when opening/closing and when opacity changes,
75 # unless no-fading-openclose is used.
79 # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
80 # 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
87 # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
90 # Specify a list of conditions of windows that should not be faded.
93 # Do not fade on window open/close.
94 # no-fading-openclose = false
96 # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
97 # no-fading-destroyed-argb = false
100 #################################
101 # Transparency / Opacity #
102 #################################
105 # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
106 # inactive-opacity = 1
107 inactive-opacity = 0.95;
109 # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
110 # frame-opacity = 1.0
113 # Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
114 # inactive-opacity-override = true
115 inactive-opacity-override = false;
117 # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
118 # active-opacity = 1.0
120 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
123 # Specify a list of conditions of windows that should never be considered focused.
125 focus-exclude = [ "class_g = 'Cairo-clock'" ];
127 # Use fixed inactive dim value, instead of adjusting according to window opacity.
128 # inactive-dim-fixed = 1.0
130 # Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
131 # like `50:name *= "Firefox"`. picom-trans is recommended over this.
132 # Note we don't make any guarantee about possible conflicts with other
133 # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
135 # opacity-rule = [ "80:class_g = 'URxvt'" ];
137 opacity-rule = [ "100:class_g = 'Emacs'" ];
140 #################################
142 #################################
144 # Sets the radius of rounded window corners. When > 0, the compositor will
145 # round the corners of windows. Does not interact well with
146 # `transparent-clipping`.
149 # Exclude conditions for rounded corners.
150 rounded-corners-exclude = [
151 "window_type = 'dock'",
152 "window_type = 'desktop'"
156 #################################
157 # Background-Blurring #
158 #################################
161 # Parameters for background blurring, see the *BLUR* section for more information.
165 # blur-deviation = false
169 # Blur background of semi-transparent / ARGB windows.
170 # Bad in performance, with driver-dependent behavior.
171 # The name of the switch may change without prior notifications.
173 # blur-background = false
175 # Blur background of windows when the window frame is not opaque.
178 # Bad in performance, with driver-dependent behavior. The name may change.
180 # blur-background-frame = false
183 # Use fixed blur strength rather than adjusting according to window opacity.
184 # blur-background-fixed = false
187 # Specify the blur convolution kernel, with the following format:
189 # 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";
192 blur-kern = "3x3box";
195 # Exclude conditions for background blur.
196 # blur-background-exclude = []
197 blur-background-exclude = [
198 "window_type = 'dock'",
199 "window_type = 'desktop'",
200 "_GTK_FRAME_EXTENTS@:c"
203 #################################
205 #################################
207 # Enable remote control via D-Bus. See the man page for more details.
210 # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
213 # Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
214 # `xrender` is the default one.
219 # Use higher precision during rendering, and apply dither when presenting the
220 # rendered screen. Reduces banding artifacts, but might cause performance
221 # degradation. Only works with OpenGL.
222 dithered-present = false;
224 # Enable/disable VSync.
228 # Try to detect WM windows (a non-override-redirect window with no
229 # child that has 'WM_STATE') and mark them as active.
231 # mark-wmwin-focused = false
232 mark-wmwin-focused = true;
234 # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
235 # mark-ovredir-focused = false
236 mark-ovredir-focused = true;
238 # Try to detect windows with rounded corners and don't consider them
239 # shaped windows. The accuracy is not very high, unfortunately.
241 # detect-rounded-corners = false
242 detect-rounded-corners = true;
244 # Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
245 # not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
247 # detect-client-opacity = false
248 detect-client-opacity = true;
250 # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
251 # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
252 # provided that the WM supports it.
254 # use-ewmh-active-win = false
256 # Unredirect all windows if a full-screen opaque window is detected,
257 # to maximize performance for full-screen windows. Known to cause flickering
258 # when redirecting/unredirecting windows.
260 # unredir-if-possible = false
262 # Delay before unredirecting the window, in milliseconds. Defaults to 0.
263 # unredir-if-possible-delay = 0
265 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
266 # unredir-if-possible-exclude = []
268 # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
269 # in the same group focused at the same time.
271 # detect-transient = false
272 detect-transient = true;
274 # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
275 # group focused at the same time. This usually means windows from the same application
276 # will be considered focused or unfocused at the same time.
277 # 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
279 # detect-client-leader = false
281 # Resize damaged region by a specific number of pixels.
282 # A positive value enlarges it while a negative one shrinks it.
283 # If the value is positive, those additional pixels will not be actually painted
284 # to screen, only used in blur calculation, and such. (Due to technical limitations,
285 # with use-damage, those pixels will still be incorrectly painted to screen.)
286 # Primarily used to fix the line corruption issues of blur,
287 # in which case you should use the blur radius value here
288 # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
289 # with a 5x5 one you use `--resize-damage 2`, and so on).
290 # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
294 # Specify a list of conditions of windows that should be painted with inverted color.
295 # Resource-hogging, and is not well tested.
297 # invert-color-include = []
299 # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
300 # Might cause incorrect opacity when rendering transparent content (but never
301 # practically happened) and may not work with blur-background.
302 # My tests show a 15% performance boost. Recommended.
304 glx-no-stencil = true;
306 # GLX backend: Avoid rebinding pixmap on window damage.
307 # Probably could improve performance on rapid window content changes,
308 # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
309 # Recommended if it works.
311 # glx-no-rebind-pixmap = false
313 # Disable the use of damage information.
314 # This cause the whole screen to be redrawn every time, instead of the part of the screen
315 # has actually changed. Potentially degrades the performance, but might fix some artifacts.
316 # The opposing option is use-damage
318 # no-use-damage = false
321 # Use X Sync fence to sync clients' draw calls, to make sure all draw
322 # calls are finished before picom starts drawing. Needed on nvidia-drivers
323 # with GLX backend for some users.
325 # xrender-sync-fence = false
327 # GLX backend: Use specified GLSL fragment shader for rendering window
328 # contents. Read the man page for a detailed explanation of the interface.
330 # window-shader-fg = "default"
332 # Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
333 # to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
335 # window-shader-fg-rule = [
336 # "my_shader.frag:window_type != 'dock'"
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 # Specify a list of conditions of windows that should never have transparent
362 # clipping applied. Useful for screenshot tools, where you need to be able to
363 # see through transparent parts of the window.
365 # transparent-clipping-exclude = []
367 # Set the log level. Possible values are:
368 # "trace", "debug", "info", "warn", "error"
369 # in increasing level of importance. Case doesn't matter.
370 # If using the "TRACE" log level, it's better to log into a file
371 # using *--log-file*, since it can generate a huge stream of logs.
373 # log-level = "debug"
377 # If *--log-file* is never specified, logs will be written to stderr.
378 # Otherwise, logs will to written to the given file, though some of the early
379 # logs might still be written to the stderr.
380 # When setting this option from the config file, it is recommended to use an absolute path.
382 # log-file = "/path/to/your/log/file"
384 # Show all X errors (for debugging)
385 # show-all-xerrors = false
387 # Write process ID to a file.
388 # write-pid-path = "/path/to/your/log/file"
390 # Window type settings
392 # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
393 # "unknown", "desktop", "dock", "toolbar", "menu", "utility",
394 # "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
395 # "tooltip", "notification", "combo", and "dnd".
397 # Following per window-type options are available: ::
400 # Controls window-type-specific shadow and fade settings.
403 # Controls default opacity of the window type.
406 # Controls whether the window of this type is to be always considered focused.
407 # (By default, all window types except "normal" and "dialog" has this on.)
410 # Controls whether shadow is drawn under the parts of the window that you
411 # normally won't be able to see. Useful when the window has parts of it
412 # transparent, and you want shadows in those areas.
414 # clip-shadow-above:::
415 # Controls whether shadows that would have been drawn above the window should
416 # be clipped. Useful for dock windows that should have no shadow painted on top.
419 # Controls whether this type of windows should cause screen to become
420 # redirected again after been unredirected. If you have unredir-if-possible
421 # set, and doesn't want certain window to cause unnecessary screen redirection,
422 # you can set this to `true`.
426 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
427 dock = { shadow = false; clip-shadow-above = true; }
428 dnd = { shadow = false; }
429 popup_menu = { opacity = 0.8; }
430 dropdown_menu = { opacity = 0.8; }