fix(fastfetch): keep the standard information beside the logo
A config file replaces fastfetch's default module structure, so the FWS logo was printed alone: no OS, kernel, CPU or disk lines at all. List the default modules explicitly so the output looks like a normal fastfetch call, with the FWS logo on the left and the machine's real information on the right; OS: comes from /etc/os-release and therefore reads "FWS Linux", not "Arch Linux".
This commit is contained in:
2 files changed
+37
-4
No files matched your search
@@ -10,8 +10,10 @@
|
||||
// « W »), coloriés par « logo.color ». Chemin ABSOLU : le rendu ne dépend donc
|
||||
// pas du répertoire courant.
|
||||
//
|
||||
// Aucune liste de modules n'est déclarée : fastfetch garde sa structure par
|
||||
// défaut (elle évolue avec ses versions, inutile de la figer ici).
|
||||
// « modules » reprend la structure par DÉFAUT de fastfetch : dès qu'un fichier
|
||||
// de config existe, fastfetch n'affiche plus sa liste par défaut (on n'obtenait
|
||||
// que le logo, sans aucune information). Les modules indisponibles sur la
|
||||
// machine (batterie d'un fixe, DE absent…) se masquent d'eux-mêmes.
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
@@ -29,5 +31,36 @@
|
||||
"5": "#1c1c22",
|
||||
"6": "#f5a523"
|
||||
}
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
"title",
|
||||
"separator",
|
||||
"os",
|
||||
"host",
|
||||
"kernel",
|
||||
"uptime",
|
||||
"packages",
|
||||
"shell",
|
||||
"display",
|
||||
"de",
|
||||
"wm",
|
||||
"wmtheme",
|
||||
"theme",
|
||||
"icons",
|
||||
"font",
|
||||
"cursor",
|
||||
"terminal",
|
||||
"terminalfont",
|
||||
"cpu",
|
||||
"gpu",
|
||||
"memory",
|
||||
"swap",
|
||||
"disk",
|
||||
"localip",
|
||||
"battery",
|
||||
"poweradapter",
|
||||
"locale",
|
||||
"break",
|
||||
"colors"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user