Color name mapping

This commit is contained in:
Linus Dierheimer
2021-12-20 12:12:55 +01:00
parent a15b3661c3
commit 65bac0efc9
4 changed files with 92 additions and 12 deletions
+5 -5
View File
@@ -37,10 +37,10 @@
# Color option:
# Sets the color of the keys.
# Must be linux console color codes.
# Must be linux console color codes or the name of a color.
# Default is the primary color of the logo.
# Use "fastfetch --help color" to learn more and see examples.
#--color 35
#--color magenta
# Spacing option:
# Sets the amount of whitespace between the logo and keys.
@@ -105,14 +105,14 @@
# Logo color options:
# Overwrite a color in the logo. Also works for user provided logos.
# In the user logo, they replace $[1-9]. Use $$ to print a single $ sign.
# Must be linux console color codes.
# Must be linux console color codes or the name of a color.
# Default is the one specified by the logo.
# Use "fastfetch --help color" to learn more and see examples.
# Valid index range is [1-9].
#--color-1 31
#--color-1 red
#--color-2 32
# [...]
#--color-9 39
#--color-9 yellow
# User logo raw option:
# Sets if color replacements should be performed on the user provided logo.
+2 -2
View File
@@ -15,8 +15,8 @@ Informative options:
General options:
--structure <structure>: sets the structure of the fetch. Must be a colon separated list of keys. Use "fastfetch --list-modules" to see the ones available.
--set <key=value>: hard set the value of a key
-c <color>, --color <color>: sets the color of the keys. Must be a linux console color code (+)
--color-[1-9] <color>: overwrites a color of the logo. Must be a linux console color code
-c <color>, --color <color>: sets the color of the keys. Must be a linux console color code or the name of a color (+)
--color-[1-9] <color>: overwrites a color of the logo. Must be a linux console color code or the name of a color
--spacing <width>: sets the distance between logo and text
-s <str>, --separator <str>: sets the separator between key and value. Default is a colon with a space
-x <offset>, --offsetx <offset>: sets the x offset. Can be negative to cut the logo, but no more than logo width.