chore(merge): bring fix/installer-wizard up to date with Main
Main replaced WinBoat with PacManager 1.6.2 (fetched from the public Gitea, installed under /opt and shipped in the live image) and added the install progress steps, the Vulkan-per-GPU fix and the default emoji font. This branch keeps everything that is specific to it: Intel RST/VMD handling (fws-intel-rst, --no-nvram in the kickstart and fws-grub-finalize, the ESP lookup fix), the Broadcom wl driver, fws-bugreport and the step-by-step wizard. Where the two sides disagreed on PacManager, Main wins: the vendored 1.4.3 tarball, the FWS launcher and the target-only install block (build.sh and kickstart) are dropped, since the package now ships in packages.x86_64 and the LiveOS payload copies it to the target. Launchers call PacManager, the binary Main's package exposes on PATH.
This commit is contained in:
commit
423dcc66dc
37 files changed
+1836
-258
No files matched your search
@@ -0,0 +1,66 @@
|
||||
// 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.
|
||||
//
|
||||
// « 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": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- FWS — emoji par défaut (Noto Color Emoji, paquet noto-fonts-emoji).
|
||||
|
||||
Sans cette configuration, l'emoji ne s'affiche que dans les applications
|
||||
qui font elles-mêmes du fallback glyphe par glyphe (Pango le fait, un
|
||||
renderer simple non), et une règle « no bitmap » (70-no-bitmaps.conf)
|
||||
suffirait à tout désactiver : Noto Color Emoji est une police bitmap
|
||||
(CBDT), pas une police vectorielle.
|
||||
|
||||
1) famille « emoji » : c'est le nom que demandent Qt/GTK/Electron.
|
||||
2) polices génériques : l'emoji est ajouté en DERNIER recours
|
||||
(mode="append", binding="weak") pour ne JAMAIS prendre la place de la
|
||||
police principale — un binding « strong » ferait basculer le texte
|
||||
latin dans la police emoji.
|
||||
3) embeddedbitmap forcé : les emoji restent affichés même si une règle
|
||||
système désactive les polices bitmap.
|
||||
|
||||
Numéroté 99- pour s'appliquer APRÈS les alias génériques (60-latin.conf)
|
||||
qu'il complète. -->
|
||||
<fontconfig>
|
||||
|
||||
<alias binding="same">
|
||||
<family>emoji</family>
|
||||
<prefer><family>Noto Color Emoji</family></prefer>
|
||||
</alias>
|
||||
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>sans-serif</string></test>
|
||||
<edit name="family" mode="append" binding="weak"><string>Noto Color Emoji</string></edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>serif</string></test>
|
||||
<edit name="family" mode="append" binding="weak"><string>Noto Color Emoji</string></edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>monospace</string></test>
|
||||
<edit name="family" mode="append" binding="weak"><string>Noto Color Emoji</string></edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test qual="any" name="family"><string>Noto Color Emoji</string></test>
|
||||
<edit name="embeddedbitmap" mode="assign" binding="strong"><bool>true</bool></edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
||||
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Fond d'écran FWS
|
||||
Comment=Applique le fond d'écran FWS au premier démarrage (le choix de l'utilisateur est conservé ensuite)
|
||||
Exec=fws-wallpaper --autostart
|
||||
Icon=preferences-desktop-wallpaper
|
||||
Terminal=false
|
||||
NoDisplay=true
|
||||
Categories=System;
|
||||
X-GNOME-Autostart-enabled=true
|
||||
Reference in new issue
Block a user