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.

425 lines
13 KiB

6 months ago
  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. #
  114. opacity-rule = ["90:class_g = 'kitty'"]
  115. # opacity-rule = []
  116. # }}} transparency/opacity #
  117. # bg blurring {{{ #
  118. # Parameters for background blurring, see the *BLUR* section for more information.
  119. # blur-method =
  120. # blur-size = 12
  121. #
  122. # blur-deviation = false
  123. # Blur background of semi-transparent / ARGB windows.
  124. # Bad in performance, with driver-dependent behavior.
  125. # The name of the switch may change without prior notifications.
  126. #
  127. # blur-background = false
  128. # Blur background of windows when the window frame is not opaque.
  129. # Implies:
  130. # blur-background
  131. # Bad in performance, with driver-dependent behavior. The name may change.
  132. #
  133. # blur-background-frame = false
  134. # Use fixed blur strength rather than adjusting according to window opacity.
  135. # blur-background-fixed = false
  136. # Specify the blur convolution kernel, with the following format:
  137. # example:
  138. # 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";
  139. #
  140. # blur-kern = ''
  141. blur-kern = "3x3box";
  142. # Exclude conditions for background blur.
  143. # blur-background-exclude = []
  144. blur-background-exclude = [
  145. "window_type = 'dock'",
  146. "window_type = 'desktop'",
  147. "_GTK_FRAME_EXTENTS@:c"
  148. ];
  149. # }}} bg blurring #
  150. # general {{{ #
  151. # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
  152. # daemon = false
  153. # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
  154. # `xrender` is the default one.
  155. #
  156. # backend = 'glx'
  157. backend = "xrender";
  158. # Enable/disable VSync.
  159. # vsync = false
  160. vsync = true
  161. # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
  162. # dbus = false
  163. # Try to detect WM windows (a non-override-redirect window with no
  164. # child that has 'WM_STATE') and mark them as active.
  165. #
  166. # mark-wmwin-focused = false
  167. mark-wmwin-focused = true;
  168. # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
  169. # mark-ovredir-focused = false
  170. mark-ovredir-focused = true;
  171. # Try to detect windows with rounded corners and don't consider them
  172. # shaped windows. The accuracy is not very high, unfortunately.
  173. #
  174. # detect-rounded-corners = false
  175. detect-rounded-corners = true;
  176. # Detect '_NET_WM_OPACITY' on client windows, useful for window managers
  177. # not passing '_NET_WM_OPACITY' of client windows to frame windows.
  178. #
  179. # detect-client-opacity = false
  180. detect-client-opacity = true;
  181. # Specify refresh rate of the screen. If not specified or 0, picom will
  182. # try detecting this with X RandR extension.
  183. #
  184. # refresh-rate = 60
  185. refresh-rate = 0
  186. # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
  187. # boost performance. This should not be used with
  188. # vsync drm/opengl/opengl-oml
  189. # as they essentially does sw-opti's job already,
  190. # unless you wish to specify a lower refresh rate than the actual value.
  191. #
  192. # sw-opti =
  193. # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
  194. # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
  195. # provided that the WM supports it.
  196. #
  197. # use-ewmh-active-win = false
  198. # Unredirect all windows if a full-screen opaque window is detected,
  199. # to maximize performance for full-screen windows. Known to cause flickering
  200. # when redirecting/unredirecting windows.
  201. #
  202. # unredir-if-possible = false
  203. # Delay before unredirecting the window, in milliseconds. Defaults to 0.
  204. # unredir-if-possible-delay = 0
  205. # Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
  206. # unredir-if-possible-exclude = []
  207. # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
  208. # in the same group focused at the same time.
  209. #
  210. # detect-transient = false
  211. detect-transient = true
  212. # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
  213. # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
  214. # detect-transient is enabled, too.
  215. #
  216. # detect-client-leader = false
  217. detect-client-leader = true
  218. # Resize damaged region by a specific number of pixels.
  219. # A positive value enlarges it while a negative one shrinks it.
  220. # If the value is positive, those additional pixels will not be actually painted
  221. # to screen, only used in blur calculation, and such. (Due to technical limitations,
  222. # with use-damage, those pixels will still be incorrectly painted to screen.)
  223. # Primarily used to fix the line corruption issues of blur,
  224. # in which case you should use the blur radius value here
  225. # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
  226. # with a 5x5 one you use `--resize-damage 2`, and so on).
  227. # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
  228. #
  229. # resize-damage = 1
  230. # Specify a list of conditions of windows that should be painted with inverted color.
  231. # Resource-hogging, and is not well tested.
  232. #
  233. # invert-color-include = []
  234. # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
  235. # Might cause incorrect opacity when rendering transparent content (but never
  236. # practically happened) and may not work with blur-background.
  237. # My tests show a 15% performance boost. Recommended.
  238. #
  239. # glx-no-stencil = false
  240. # GLX backend: Avoid rebinding pixmap on window damage.
  241. # Probably could improve performance on rapid window content changes,
  242. # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
  243. # Recommended if it works.
  244. #
  245. # glx-no-rebind-pixmap = false
  246. # Disable the use of damage information.
  247. # This cause the whole screen to be redrawn everytime, instead of the part of the screen
  248. # has actually changed. Potentially degrades the performance, but might fix some artifacts.
  249. # The opposing option is use-damage
  250. #
  251. # no-use-damage = false
  252. use-damage = true
  253. # Use X Sync fence to sync clients' draw calls, to make sure all draw
  254. # calls are finished before picom starts drawing. Needed on nvidia-drivers
  255. # with GLX backend for some users.
  256. #
  257. # xrender-sync-fence = false
  258. # GLX backend: Use specified GLSL fragment shader for rendering window contents.
  259. # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
  260. # in the source tree for examples.
  261. #
  262. # glx-fshader-win = ''
  263. # Force all windows to be painted with blending. Useful if you
  264. # have a glx-fshader-win that could turn opaque pixels transparent.
  265. #
  266. # force-win-blend = false
  267. # Do not use EWMH to detect fullscreen windows.
  268. # Reverts to checking if a window is fullscreen based only on its size and coordinates.
  269. #
  270. # no-ewmh-fullscreen = false
  271. # Dimming bright windows so their brightness doesn't exceed this set value.
  272. # Brightness of a window is estimated by averaging all pixels in the window,
  273. # so this could comes with a performance hit.
  274. # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
  275. #
  276. # max-brightness = 1.0
  277. # Make transparent windows clip other windows like non-transparent windows do,
  278. # instead of blending on top of them.
  279. #
  280. # transparent-clipping = false
  281. # Set the log level. Possible values are:
  282. # "trace", "debug", "info", "warn", "error"
  283. # in increasing level of importance. Case doesn't matter.
  284. # If using the "TRACE" log level, it's better to log into a file
  285. # using *--log-file*, since it can generate a huge stream of logs.
  286. #
  287. # log-level = "debug"
  288. log-level = "warn";
  289. # Set the log file.
  290. # If *--log-file* is never specified, logs will be written to stderr.
  291. # Otherwise, logs will to written to the given file, though some of the early
  292. # logs might still be written to the stderr.
  293. # When setting this option from the config file, it is recommended to use an absolute path.
  294. #
  295. # log-file = '/path/to/your/log/file'
  296. # Show all X errors (for debugging)
  297. # show-all-xerrors = false
  298. # Write process ID to a file.
  299. # write-pid-path = '/path/to/your/log/file'
  300. # }}} general #
  301. # window settings {{{ #
  302. # Window type settings
  303. #
  304. # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
  305. # "unknown", "desktop", "dock", "toolbar", "menu", "utility",
  306. # "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
  307. # "tooltip", "notification", "combo", and "dnd".
  308. #
  309. # Following per window-type options are available: ::
  310. #
  311. # fade, shadow:::
  312. # Controls window-type-specific shadow and fade settings.
  313. #
  314. # opacity:::
  315. # Controls default opacity of the window type.
  316. #
  317. # focus:::
  318. # Controls whether the window of this type is to be always considered focused.
  319. # (By default, all window types except "normal" and "dialog" has this on.)
  320. #
  321. # full-shadow:::
  322. # Controls whether shadow is drawn under the parts of the window that you
  323. # normally won't be able to see. Useful when the window has parts of it
  324. # transparent, and you want shadows in those areas.
  325. #
  326. # redir-ignore:::
  327. # Controls whether this type of windows should cause screen to become
  328. # redirected again after been unredirected. If you have unredir-if-possible
  329. # set, and doesn't want certain window to cause unnecessary screen redirection,
  330. # you can set this to `true`.
  331. #
  332. wintypes:
  333. {
  334. tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
  335. dock = { shadow = false; }
  336. dnd = { shadow = false; }
  337. # popup_menu = { opacity = 1; }
  338. popup_menu = { opacity = .95; }
  339. # dropdown_menu = { opacity = 1; }
  340. dropdown_menu = { opacity = .9; }
  341. };
  342. # }}} window settings #