From 35b403ac9c1c3d62e121baf4d914a10d716f4f6d Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 21 Aug 2022 05:42:38 +0100 Subject: [PATCH] man: describe where to put a shader file Signed-off-by: Yuxuan Shui --- man/picom.1.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/picom.1.asciidoc b/man/picom.1.asciidoc index 5304649..6c1f410 100644 --- a/man/picom.1.asciidoc +++ b/man/picom.1.asciidoc @@ -260,7 +260,7 @@ May also be one of the predefined kernels: `3x3box` (default), `5x5box`, `7x7box Make transparent windows clip other windows like non-transparent windows do, instead of blending on top of them. *--window-shader-fg* 'SHADER':: - Specify GLSL fragment shader path for rendering window contents. Only works when *--experimental-backends* is enabled. See section *SHADER INTERFACE* below for more details on the interface. + Specify GLSL fragment shader path for rendering window contents. Only works when *--experimental-backends* is enabled. Shader is searched first relative to the directory the configuration file is in, then in the usual places for a configuration file. See section *SHADER INTERFACE* below for more details on the interface. *--window-shader-fg-rule* 'SHADER':'CONDITION':: Specify GLSL fragment shader path for rendering window contents using patterns. Similar to *--opacity-rule*, arguments should be in the format of 'SHADER:CONDITION', e.g. "shader.frag:name = \'window\'". Leading and trailing whitespaces in 'SHADER' will be trimmed. If 'SHADER' is "default", then the default shader will be used for the matching windows. (This also unfortunately means you can't use a shader file named "default"). Only works when *--experimental-backends* is enabled.