Guest User

Untitled

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