Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

423 lines
13 KiB

  1. # shadows {{{ #
  2. # Enabled client-side shadows on windows. Note desktop windows
  3. # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
  4. # unless explicitly requested using the wintypes option.
  5. #
  6. # shadow = false
  7. shadow = true;
  8. # The blur radius for shadows, in pixels. (defaults to 12)
  9. # shadow-radius = 12
  10. shadow-radius = 7;
  11. # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
  12. # shadow-opacity = .75
  13. # The left offset for shadows, in pixels. (defaults to -15)
  14. # shadow-offset-x = -15
  15. shadow-offset-x = -7;
  16. # The top offset for shadows, in pixels. (defaults to -15)
  17. # shadow-offset-y = -15
  18. shadow-offset-y = -7;
  19. # Avoid drawing shadows on dock/panel windows. This option is deprecated,
  20. # you should use the *wintypes* option in your config file instead.
  21. #
  22. # no-dock-shadow = false
  23. # Don't draw shadows on drag-and-drop windows. This option is deprecated,
  24. # you should use the *wintypes* option in your config file instead.
  25. #
  26. # no-dnd-shadow = false
  27. # Red color value of shadow (0.0 - 1.0, defaults to 0).
  28. # shadow-red = 0
  29. # Green color value of shadow (0.0 - 1.0, defaults to 0).
  30. # shadow-green = 0
  31. # Blue color value of shadow (0.0 - 1.0, defaults to 0).
  32. # shadow-blue = 0
  33. # Do not paint shadows on shaped windows. Note shaped windows
  34. # here means windows setting its shape through X Shape extension.
  35. # Those using ARGB background is beyond our control.
  36. # Deprecated, use
  37. # shadow-exclude = 'bounding_shaped'
  38. # or
  39. # shadow-exclude = 'bounding_shaped && !rounded_corners'
  40. # instead.
  41. #
  42. # shadow-ignore-shaped = ''
  43. # Specify a list of conditions of windows that should have no shadow.
  44. #
  45. # examples:
  46. # shadow-exclude = "n:e:Notification";
  47. #
  48. # shadow-exclude = []
  49. shadow-exclude = [
  50. "name = 'Notification'",
  51. "class_g = 'Conky'",
  52. "class_g ?= 'Notify-osd'",
  53. "class_g = 'Cairo-clock'",
  54. "_GTK_FRAME_EXTENTS@:c"
  55. ];
  56. # Specify a X geometry that describes the region in which shadow should not
  57. # be painted in, such as a dock window region. Use
  58. # shadow-exclude-reg = "x10+0+0"
  59. # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
  60. #
  61. # shadow-exclude-reg = ""
  62. # Crop shadow of a window fully on a particular Xinerama screen to the screen.
  63. # xinerama-shadow-crop = false
  64. # }}} shadows #
  65. # fading {{{ #
  66. # Fade windows in/out when opening/closing and when opacity changes,
  67. # unless no-fading-openclose is used.
  68. fading = false
  69. # fading = true
  70. # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
  71. # fade-in-step = 0.028
  72. fade-in-step = 0.03;
  73. # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
  74. # fade-out-step = 0.03
  75. fade-out-step = 0.03;
  76. # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
  77. # fade-delta = 10
  78. # Specify a list of conditions of windows that should not be faded.
  79. # fade-exclude = []
  80. # Do not fade on window open/close.
  81. # no-fading-openclose = true
  82. # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
  83. # no-fading-destroyed-argb = false
  84. # }}} fading #
  85. # transparency/opacity {{{ #
  86. # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
  87. inactive-opacity = 1
  88. # inactive-opacity = 0.9;
  89. # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
  90. # frame-opacity = 1.0
  91. frame-opacity = 0.7;
  92. # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
  93. # menu-opacity = 1.0
  94. # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
  95. # inactive-opacity-override = true
  96. inactive-opacity-override = false;
  97. # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
  98. # active-opacity = 1.0
  99. # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
  100. # inactive-dim = 0.0
  101. # Specify a list of conditions of windows that should always be considered focused.
  102. # focus-exclude = []
  103. focus-exclude = [ "class_g = 'Cairo-clock'" ];
  104. # Use fixed inactive dim value, instead of adjusting according to window opacity.
  105. # inactive-dim-fixed = 1.0
  106. # Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
  107. # like `50:name *= "Firefox"`. picom-trans is recommended over this.
  108. # Note we don't make any guarantee about possible conflicts with other
  109. # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
  110. # example:
  111. # opacity-rule = [ "80:class_g = 'URxvt'" ];
  112. #
  113. # opacity-rule = []
  114. # }}} transparency/opacity #
  115. # bg blurring {{{ #
  116. # Parameters for background blurring, see the *BLUR* section for more information.
  117. # blur-method =
  118. # blur-size = 12
  119. #
  120. # blur-deviation = false
  121. # Blur background of semi-transparent / ARGB windows.
  122. # Bad in performance, with driver-dependent behavior.
  123. # The name of the switch may change without prior notifications.
  124. #
  125. # blur-background = false
  126. # Blur background of windows when the window frame is not opaque.
  127. # Implies:
  128. # blur-background
  129. # Bad in performance, with driver-dependent behavior. The name may change.
  130. #
  131. # blur-background-frame = false
  132. # Use fixed blur strength rather than adjusting according to window opacity.
  133. # blur-background-fixed = false
  134. # Specify the blur convolution kernel, with the following format:
  135. # example:
  136. # 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";
  137. #
  138. # blur-kern = ''
  139. blur-kern = "3x3box";
  140. # Exclude conditions for background blur.
  141. # blur-background-exclude = []
  142. blur-background-exclude = [
  143. "window_type = 'dock'",
  144. "window_type = 'desktop'",
  145. "_GTK_FRAME_EXTENTS@:c"
  146. ];
  147. # }}} bg blurring #
  148. # general {{{ #
  149. # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
  150. # daemon = false
  151. # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
  152. # `xrender` is the default one.
  153. #
  154. # backend = 'glx'
  155. backend = "xrender";
  156. # Enable/disable VSync.
  157. # vsync = false
  158. vsync = true
  159. # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
  160. # dbus = false
  161. # Try to detect WM windows (a non-override-redirect window with no
  162. # child that has 'WM_STATE') and mark them as active.
  163. #
  164. # mark-wmwin-focused = false
  165. mark-wmwin-focused = true;
  166. # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
  167. # mark-ovredir-focused = false
  168. mark-ovredir-focused = true;
  169. # Try to detect windows with rounded corners and don't consider them
  170. # shaped windows. The accuracy is not very high, unfortunately.
  171. #
  172. # detect-rounded-corners = false
  173. detect-rounded-corners = true;
  174. # Detect '_NET_WM_OPACITY' on client windows, useful for window managers
  175. # not passing '_NET_WM_OPACITY' of client windows to frame windows.
  176. #
  177. # detect-client-opacity = false
  178. detect-client-opacity = true;
  179. # Specify refresh rate of the screen. If not specified or 0, picom will
  180. # try detecting this with X RandR extension.
  181. #
  182. # refresh-rate = 60
  183. refresh-rate = 0
  184. # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
  185. # boost performance. This should not be used with
  186. # vsync drm/opengl/opengl-oml
  187. # as they essentially does sw-opti's job already,
  188. # unless you wish to specify a lower refresh rate than the actual value.
  189. #
  190. # sw-opti =
  191. # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
  192. # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
  193. # provided that the WM supports it.
  194. #
  195. # use-ewmh-active-win = false
  196. # Unredirect all windows if a full-screen opaque window is detected,
  197. # to maximize performance for full-screen windows. Known to cause flickering
  198. # when redirecting/unredirecting windows.
  199. #
  200. # unredir-if-possible = false
  201. # Delay before unredirecting the window, in milliseconds. Defaults to 0.
  202. # unredir-if-possible-delay = 0
  203. # Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
  204. # unredir-if-possible-exclude = []
  205. # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
  206. # in the same group focused at the same time.
  207. #
  208. # detect-transient = false
  209. detect-transient = true
  210. # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
  211. # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
  212. # detect-transient is enabled, too.
  213. #
  214. # detect-client-leader = false
  215. detect-client-leader = true
  216. # Resize damaged region by a specific number of pixels.
  217. # A positive value enlarges it while a negative one shrinks it.
  218. # If the value is positive, those additional pixels will not be actually painted
  219. # to screen, only used in blur calculation, and such. (Due to technical limitations,
  220. # with use-damage, those pixels will still be incorrectly painted to screen.)
  221. # Primarily used to fix the line corruption issues of blur,
  222. # in which case you should use the blur radius value here
  223. # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
  224. # with a 5x5 one you use `--resize-damage 2`, and so on).
  225. # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
  226. #
  227. # resize-damage = 1
  228. # Specify a list of conditions of windows that should be painted with inverted color.
  229. # Resource-hogging, and is not well tested.
  230. #
  231. # invert-color-include = []
  232. # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
  233. # Might cause incorrect opacity when rendering transparent content (but never
  234. # practically happened) and may not work with blur-background.
  235. # My tests show a 15% performance boost. Recommended.
  236. #
  237. # glx-no-stencil = false
  238. # GLX backend: Avoid rebinding pixmap on window damage.
  239. # Probably could improve performance on rapid window content changes,
  240. # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
  241. # Recommended if it works.
  242. #
  243. # glx-no-rebind-pixmap = false
  244. # Disable the use of damage information.
  245. # This cause the whole screen to be redrawn everytime, instead of the part of the screen
  246. # has actually changed. Potentially degrades the performance, but might fix some artifacts.
  247. # The opposing option is use-damage
  248. #
  249. # no-use-damage = false
  250. use-damage = true
  251. # Use X Sync fence to sync clients' draw calls, to make sure all draw
  252. # calls are finished before picom starts drawing. Needed on nvidia-drivers
  253. # with GLX backend for some users.
  254. #
  255. # xrender-sync-fence = false
  256. # GLX backend: Use specified GLSL fragment shader for rendering window contents.
  257. # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
  258. # in the source tree for examples.
  259. #
  260. # glx-fshader-win = ''
  261. # Force all windows to be painted with blending. Useful if you
  262. # have a glx-fshader-win that could turn opaque pixels transparent.
  263. #
  264. # force-win-blend = false
  265. # Do not use EWMH to detect fullscreen windows.
  266. # Reverts to checking if a window is fullscreen based only on its size and coordinates.
  267. #
  268. # no-ewmh-fullscreen = false
  269. # Dimming bright windows so their brightness doesn't exceed this set value.
  270. # Brightness of a window is estimated by averaging all pixels in the window,
  271. # so this could comes with a performance hit.
  272. # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
  273. #
  274. # max-brightness = 1.0
  275. # Make transparent windows clip other windows like non-transparent windows do,
  276. # instead of blending on top of them.
  277. #
  278. # transparent-clipping = false
  279. # Set the log level. Possible values are:
  280. # "trace", "debug", "info", "warn", "error"
  281. # in increasing level of importance. Case doesn't matter.
  282. # If using the "TRACE" log level, it's better to log into a file
  283. # using *--log-file*, since it can generate a huge stream of logs.
  284. #
  285. # log-level = "debug"
  286. log-level = "warn";
  287. # Set the log file.
  288. # If *--log-file* is never specified, logs will be written to stderr.
  289. # Otherwise, logs will to written to the given file, though some of the early
  290. # logs might still be written to the stderr.
  291. # When setting this option from the config file, it is recommended to use an absolute path.
  292. #
  293. # log-file = '/path/to/your/log/file'
  294. # Show all X errors (for debugging)
  295. # show-all-xerrors = false
  296. # Write process ID to a file.
  297. # write-pid-path = '/path/to/your/log/file'
  298. # }}} general #
  299. # window settings {{{ #
  300. # Window type settings
  301. #
  302. # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
  303. # "unknown", "desktop", "dock", "toolbar", "menu", "utility",
  304. # "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
  305. # "tooltip", "notification", "combo", and "dnd".
  306. #
  307. # Following per window-type options are available: ::
  308. #
  309. # fade, shadow:::
  310. # Controls window-type-specific shadow and fade settings.
  311. #
  312. # opacity:::
  313. # Controls default opacity of the window type.
  314. #
  315. # focus:::
  316. # Controls whether the window of this type is to be always considered focused.
  317. # (By default, all window types except "normal" and "dialog" has this on.)
  318. #
  319. # full-shadow:::
  320. # Controls whether shadow is drawn under the parts of the window that you
  321. # normally won't be able to see. Useful when the window has parts of it
  322. # transparent, and you want shadows in those areas.
  323. #
  324. # redir-ignore:::
  325. # Controls whether this type of windows should cause screen to become
  326. # redirected again after been unredirected. If you have unredir-if-possible
  327. # set, and doesn't want certain window to cause unnecessary screen redirection,
  328. # you can set this to `true`.
  329. #
  330. wintypes:
  331. {
  332. tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
  333. dock = { shadow = false; }
  334. dnd = { shadow = false; }
  335. # popup_menu = { opacity = 1; }
  336. popup_menu = { opacity = .95; }
  337. # dropdown_menu = { opacity = 1; }
  338. dropdown_menu = { opacity = .9; }
  339. };
  340. # }}} window settings #