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.
This commit is contained in:
BlackAngelTV committed 2026-10-29 20:42:04 +01:00
1 parent 80a637225c
commit 2f3c33062b
3 files changed
+38 -10

No files matched your search

@@ -5,14 +5,8 @@
# On utilise donc un autre nom.
_fastfetch_rc=$?
if [ "${_fastfetch_rc}" -eq 0 ]; then
# Logo FWS maison (4 carrés + Tux) au lieu du logo Arch détecté par défaut.
fastfetch \
--logo-type file \
--logo /usr/local/share/fws/logo.txt \
--logo-color-1 '38;2;30;160;100' \
--logo-color-2 '38;2;45;125;210' \
--logo-color-3 '38;2;240;180;40' \
--logo-color-4 '38;2;25;85;145' \
--logo-color-5 '38;2;28;28;34' \
--logo-color-6 '38;2;245;165;35'
# Le logo FWS vient de la config SYSTÈME (/etc/fastfetch/config.jsonc) :
# aucun flag ici, pour que le rendu soit identique quand fastfetch est
# lancé à la main (terminal d'un bureau, TTY, n'importe quel compte).
fastfetch
fi