1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-02-17 15:56:21 -05:00

options: mention the "default" shader

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2022-08-21 05:22:15 +01:00
parent 4e0fad5880
commit 19c852b3ae
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -354,9 +354,10 @@ static void usage(const char *argv0, int ret) {
"\n"
"--window-shader-fg-rule shader:condition\n"
" Specify GLSL fragment shader path for rendering window contents using\n"
" patterns. Pattern should be in the format of `SHADER PATH:PATTERN`,\n"
" similar to `--opacity-rule`. Only works when `--experimental-backends`\n"
" is enabled.\n";
" patterns. Pattern should be in the format of `SHADER_PATH:PATTERN`,\n"
" similar to `--opacity-rule`. `SHADER_PATH` can be \"default\", in which\n"
" case the default shader will be used. Only works when\n"
" `--experimental-backends` is enabled.\n";
FILE *f = (ret ? stderr : stdout);
fprintf(f, usage_text, argv0);
#undef WARNING_DISABLED