mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Doc: add TerminalTheme
This commit is contained in:
parent
ec6195133b
commit
bbf04f0d40
@ -1,3 +1,8 @@
|
||||
# 2.6.4
|
||||
|
||||
Features:
|
||||
* Add new module `TerminalTheme`
|
||||
|
||||
# 2.6.3
|
||||
|
||||
Bugfixes:
|
||||
|
@ -648,6 +648,7 @@
|
||||
"terminal",
|
||||
"terminalfont",
|
||||
"terminalsize",
|
||||
"terminaltheme",
|
||||
"title",
|
||||
"theme",
|
||||
"uptime",
|
||||
@ -772,6 +773,10 @@
|
||||
"const": "terminalsize",
|
||||
"description": "Print current terminal size"
|
||||
},
|
||||
{
|
||||
"const": "terminaltheme",
|
||||
"description": "Print current terminal theme (foreground and background colors)"
|
||||
},
|
||||
{
|
||||
"const": "theme",
|
||||
"description": "Print current theme of desktop environment"
|
||||
|
@ -28,6 +28,7 @@
|
||||
"terminal",
|
||||
"terminalfont",
|
||||
"terminalsize",
|
||||
"terminaltheme",
|
||||
"cpu",
|
||||
"cpuusage",
|
||||
"gpu",
|
||||
|
@ -34,6 +34,7 @@
|
||||
"terminal",
|
||||
"terminalfont",
|
||||
"terminalsize",
|
||||
"terminaltheme",
|
||||
"cpu",
|
||||
"cpuusage",
|
||||
"gpu",
|
||||
|
@ -300,7 +300,7 @@ static void listModules(bool pretty)
|
||||
{
|
||||
++count;
|
||||
if (pretty)
|
||||
printf("%d)%s%-13s: %s\n", count, count > 9 ? " " : " ", (*modules)->name, (*modules)->description);
|
||||
printf("%d)%s%-14s: %s\n", count, count > 9 ? " " : " ", (*modules)->name, (*modules)->description);
|
||||
else
|
||||
printf("%s:%s\n", (*modules)->name, (*modules)->description);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user