diff --git a/completions/bash b/completions/bash index 9839ce280..d08a71c55 100644 --- a/completions/bash +++ b/completions/bash @@ -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 diff --git a/src/data/config_user.txt b/src/data/config_user.txt index 6aa72ef17..58b55653a 100644 --- a/src/data/config_user.txt +++ b/src/data/config_user.txt @@ -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 diff --git a/src/data/help.txt b/src/data/help.txt index e20d535d5..8c96ab9c0 100644 --- a/src/data/help.txt +++ b/src/data/help.txt @@ -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 : Set the OpenGL context creation library to use. Must be auto, egl, glx or osmesa. Default is auto + --opengl-type : Set the OpenGL context creation library to use. Must be auto, egl, glx or osmesa. Default is auto --percent-type : 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 : Set the shell program to execute the command text. Default is cmd for Windows, csh for FreeBSD, bash for others --command-key : Set the module key to display, can be specified mulitple times