OpenGL: update text files that reflects the change of --gl to --opengl-type

This commit is contained in:
李通洲
2023-06-12 15:35:48 +08:00
parent df4d6627ee
commit d7115022e4
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -113,7 +113,7 @@ __fastfetch_complete_option()
"${FF_OPTIONS_LOGO[@]}"
"${FF_OPTIONS_LOGO_TYPE[@]}"
"${FF_OPTIONS_BINARY_PREFIX[@]}"
"${FF_OPTIONS_GL[@]}"
"${FF_OPTIONS_OPENGL[@]}"
)
if [[ $WORD_COUND -lt 3 ]]; then
@@ -399,8 +399,8 @@ __fastfetch_completion()
"--binary-prefix"
)
local FF_OPTIONS_GL=(
"--gl"
local FF_OPTIONS_OPENGL=(
"--opengl-type"
)
if __fastfetch_previous_matches "${FF_OPTIONS_SINGLE[@]}"; then
@@ -423,7 +423,7 @@ __fastfetch_completion()
__fastfetch_complete_logo_type
elif __fastfetch_previous_matches "${FF_OPTIONS_BINARY_PREFIX[@]}"; then
__fastfetch_complete_binary_prefix
elif __fastfetch_previous_matches "${FF_OPTIONS_GL[@]}"; then
elif __fastfetch_previous_matches "${FF_OPTIONS_OPENGL[@]}"; then
__fastfetch_complete_gl
else
__fastfetch_complete_option
+2 -2
View File
@@ -206,11 +206,11 @@
# Default is true.
#--escape-bedrock true
# GL option
# OpenGL option
# Sets with opengl context creation library to use
# Must be either auto, egl, glx or osmesa
# Default is auto.
#--gl auto
#--opengl-type auto
# GPU hide options
# Sets weather to hide certain gpu types
+1 -1
View File
@@ -133,7 +133,7 @@ Module specific options:
--weather-timeout: Time in milliseconds to wait for the weather server to respond. Default is disabled (0)
--weather-output-format: The output weather format to be used. It must be URI encoded.
--player-name: The name of the player to use
--gl <value>: Set the OpenGL context creation library to use. Must be auto, egl, glx or osmesa. Default is auto
--opengl-type <value>: Set the OpenGL context creation library to use. Must be auto, egl, glx or osmesa. Default is auto
--percent-type <value>: Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number. Default is 1
--command-shell <str>: Set the shell program to execute the command text. Default is cmd for Windows, csh for FreeBSD, bash for others
--command-key <str>: Set the module key to display, can be specified mulitple times