Files
FWS-ISO/configs/releng/airootfs/etc/fastfetch/config.jsonc
T
BlackAngelTV deeb4921da feat(fastfetch): show the FWS logo whatever launches fastfetch
The FWS logo only came from the flags passed by the login-shell hook, so
running fastfetch from a desktop terminal, a TTY or any non-login shell fell
back to the Arch logo. Move the logo (and its colours) into a system-wide
config that fastfetch reads for every account, live or installed, and keep the
hook down to a plain call. The module list is left to fastfetch defaults so it
does not rot with upstream versions; a user's own config still wins.
2026-10-29 20:42:04 +01:00

34 lines
1.2 KiB
JSON

// FWS — configuration fastfetch SYSTÈME (/etc/fastfetch/config.jsonc).
//
// Posée ici pour que le logo FWS apparaisse quel que soit le lancement :
// shell de login (cf. etc/profile.d/fastfetch.sh), terminal d'un bureau,
// TTY, root ou utilisateur, live ou système installé — fastfetch lit ce
// fichier en dernier recours, pour tout compte sans config personnelle
// (~/.config/fastfetch/config.jsonc d'un utilisateur reste prioritaire).
//
// Le logo est un fichier texte avec des marqueurs $1..$6 (4 carrés FWS + le
// « 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).
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "file",
"source": "/usr/local/share/fws/logo.txt",
"padding": {
"top": 1,
"left": 2
},
"color": {
"1": "#1ea064",
"2": "#2d7dd2",
"3": "#f0b428",
"4": "#195591",
"5": "#1c1c22",
"6": "#f5a523"
}
}
}