Global: document --<module>-key-color

This commit is contained in:
Carter Li
2023-06-18 12:58:27 +08:00
parent afe8d00936
commit 35e57741d3
3 changed files with 90 additions and 95 deletions
+40 -40
View File
@@ -239,124 +239,124 @@ __fastfetch_completion()
"--weather-timeout"
"--os-key"
"--os-format"
"--os-error"
"--os-key-color"
"--host-key"
"--host-format"
"--host-error"
"--host-key-color"
"--kernel-key"
"--kernel-format"
"--kernel-error"
"--kernel-key-color"
"--uptime-key"
"--uptime-format"
"--uptime-error"
"--uptime-key-color"
"--processes-key"
"--processes-format"
"--processes-error"
"--processes-key-color"
"--packages-key"
"--packages-format"
"--packages-error"
"--packages-key-color"
"--shell-key"
"--shell-format"
"--shell-error"
"--shell-key-color"
"--display-key"
"--display-format"
"--display-error"
"--display-key-color"
"--de-key"
"--de-format"
"--de-error"
"--de-key-color"
"--wm-key"
"--wm-format"
"--wm-error"
"--wm-key-color"
"--wm-theme-key"
"--wm-theme-format"
"--wm-theme-error"
"--wm-theme-key-color"
"--theme-key"
"--theme-format"
"--theme-error"
"--theme-key-color"
"--icons-key"
"--icons-format"
"--icons-error"
"--icons-key-color"
"--font-key"
"--font-format"
"--font-error"
"--font-key-color"
"--cursor-key"
"--cursor-format"
"--cursor-error"
"--cursor-key-color"
"--terminal-key"
"--terminal-format"
"--terminal-error"
"--terminal-key-color"
"--terminal-font-key"
"--terminal-font-format"
"--terminal-font-error"
"--terminal-font-key-color"
"--cpu-key"
"--cpu-format"
"--cpu-error"
"--cpu-key-color"
"--cpu-useage-key"
"--cpu-useage-format"
"--cpu-useage-error"
"--cpu-useage-key-color"
"--gpu-key"
"--gpu-format"
"--gpu-error"
"--gpu-key-color"
"--memory-key"
"--memory-format"
"--memory-error"
"--memory-key-color"
"--swap-key"
"--swap-format"
"--swap-error"
"--swap-key-color"
"--disk-key"
"--disk-format"
"--disk-error"
"--disk-key-color"
"--battery-key"
"--battery-format"
"--battery-error"
"--battery-key-color"
"--poweradapter-key"
"--poweradapter-format"
"--poweradapter-error"
"--poweradapter-key-color"
"--locale-key"
"--locale-format"
"--locale-error"
"--locale-key-color"
"--localip-key"
"--localip-format"
"--localip-error"
"--localip-key-color"
"--publicip-key"
"--publicip-format"
"--publicip-error"
"--publicip-key-color"
"--wifi-key"
"--wifi-format"
"--wifi-error"
"--wifi-key-color"
"--weather-key"
"--weather-format"
"--weather-error"
"--weather-key-color"
"--player-key"
"--player-format"
"--player-error"
"--player-key-color"
"--media-key"
"--media-format"
"--media-error"
"--media-key-color"
"--datetime-key"
"--datetime-format"
"--datetime-error"
"--datetime-key-color"
"--date-key"
"--date-format"
"--date-error"
"--date-key-color"
"--time-key"
"--time-format"
"--time-error"
"--time-key-color"
"--vulkan-key"
"--vulkan-format"
"--vulkan-error"
"--vulkan-key-color"
"--opengl-key"
"--opengl-format"
"--opengl-error"
"--opengl-key-color"
"--opencl-key"
"--opencl-format"
"--opencl-error"
"--opencl-key-color"
"--users-key"
"--users-format"
"--users-error"
"--users-key-color"
"--bluetooth-key"
"--bluetooth-format"
"--bluetooth-error"
"--bluetooth-key-color"
)
local FF_OPTIONS_PATH=(
+44 -47
View File
@@ -379,53 +379,50 @@
#--gamepad-format
#--wallpaper-format
# Error options:
# Sets the format string to use if an error occured
# For information on format strings, see "fastfetch --help format".
# Each of them take the error as first and only argument.
# If one of them is set, the module will appear, even if --show-errors is not given.
#--os-error
#--host-error
#--chassis-error
#--kernel-error
#--uptime-error
#--processes-error
#--packages-error
#--shell-error
#--display-error
#--brightness-error
#--de-error
#--wm-error
#--wm-theme-error
#--theme-error
#--icons-error
#--font-error
#--cursor-error
#--terminal-error
#--terminal-font-error
#--cpu-error
#--cpu-usage-error
#--gpu-error
#--memory-error
#--swap-error
#--disk-error
#--battery-error
#--poweradapter-error
#--locale-error
#--localip-error
#--publicip-error
#--weather-error
#--player-error
#--media-error
#--datetime-error
#--vulkan-error
#--opengl-error
#--opencl-error
#--users-error
#--bluetooth-error
#--sound-error
#--gamepad-error
#--wallpaper-error
# Key color options:
# Overrides the global `--color-keys` for one specified module
#--os-key-color
#--host-key-color
#--chassis-key-color
#--kernel-key-color
#--uptime-key-color
#--processes-key-color
#--packages-key-color
#--shell-key-color
#--display-key-color
#--brightness-key-color
#--de-key-color
#--wm-key-color
#--wm-theme-key-color
#--theme-key-color
#--icons-key-color
#--font-key-color
#--cursor-key-color
#--terminal-key-color
#--terminal-font-key-color
#--cpu-key-color
#--cpu-usage-key-color
#--gpu-key-color
#--memory-key-color
#--swap-key-color
#--disk-key-color
#--battery-key-color
#--poweradapter-key-color
#--locale-key-color
#--localip-key-color
#--publicip-key-color
#--weather-key-color
#--player-key-color
#--media-key-color
#--datetime-key-color
#--vulkan-key-color
#--opengl-key-color
#--opencl-key-color
#--users-key-color
#--bluetooth-key-color
#--sound-key-color
#--gamepad-key-color
#--wallpaper-key-color
# Library options:
# Sets an user specific path to a library to load.
+6 -8
View File
@@ -67,16 +67,14 @@ Display options:
--no-buffer <?value>: Set if the stdout application buffer should be disabled. Default is false
General module options:
--<module>-format <format>: Set the format string to use for each specific module.
To see how a format string works, use fastfetch --help format.
To see help about a specific format string, use fastfetch --help <module>-format.
--<module>-format <format>: Set the format string to use for each specific module.
To see how a format string works, use fastfetch --help format.
To see help about a specific format string, use fastfetch --help <module>-format.
--<module>-key <key>: Set the key to use for each specific module.
For modules which print multiple lines, the string is parsed as a format string with the index as first character.
--<module>-key <key>: Set the key to use for each specific module.
For modules which print multiple lines, the string is parsed as a format string with the index as first character.
--<module>-error <format>: Set the error format string to use for each specific module.
The error is given as the first and only argument.
Setting this for a module will cause it to appear, even if --show-errors is not given.
--<module>-key-color <format>: Override the global `--color-keys` option for each specific module.
Library options: Set the path of a library to load
--lib-PCI <path>