diff --git a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks index 6cef60d..ea05fc9 100644 --- a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks +++ b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks @@ -274,10 +274,13 @@ case "$DESK" in # (agent d'authentification GUI), network-manager-applet (réseau dans le # tray), xdg-desktop-portal-hyprland (partage d'écran/portails), gvfs # (montage USB dans thunar), ttf-nerd-fonts-symbols (icônes waybar). - # Le son (PipeWire+pavucontrol), le Bluetooth (bluez+blueman) et la - # luminosité (brightnessctl) sont installés par fws-setup-hardware. - xfce) PKGS="xfce4 xfce4-goodies sddm noto-fonts"; DM="sddm" ;; - hyprland) PKGS="hyprland kitty wofi waybar sddm noto-fonts thunar hyprlock grim slurp wl-clipboard playerctl mako libnotify polkit-gnome network-manager-applet xdg-desktop-portal-hyprland gvfs ttf-nerd-fonts-symbols"; DM="sddm" ;; + # Son et Bluetooth GARANTIS avec le bureau : la stack PipeWire + le + # mixeur (pavucontrol) + bluez/blueman partent dans la MÊME transaction + # pacman que le DE — si le bureau s'installe, ses gestionnaires aussi + # (fws-setup-hardware les re-propose ensuite en --needed : sans effet + # s'ils sont déjà là, filet de secours sinon). + xfce) PKGS="xfce4 xfce4-goodies sddm noto-fonts pipewire pipewire-pulse wireplumber pavucontrol"; DM="sddm" ;; + hyprland) PKGS="hyprland kitty wofi waybar sddm noto-fonts thunar hyprlock grim slurp wl-clipboard playerctl mako libnotify polkit-gnome network-manager-applet xdg-desktop-portal-hyprland gvfs ttf-nerd-fonts-symbols pipewire pipewire-alsa pipewire-pulse wireplumber pavucontrol bluez bluez-utils blueman"; DM="sddm" ;; cli|*) PKGS="" ;; esac # Navigateur de base ajouté DÈS QU'un bureau est choisi (jamais en CLI). @@ -373,6 +376,9 @@ HYEOF sed -i 's|^Exec=.*|Exec=/usr/local/bin/fws-hyprland|' \ /usr/share/wayland-sessions/hyprland.desktop fi + # Bluetooth prêt au 1er démarrage (bluez vient d'être installé + # avec le bureau ; fws-setup-hardware le refait — idempotent). + systemctl enable bluetooth.service 2>/dev/null || true fi else echo "[FWS] Bureau '$DESK' non installé (réseau ?) — à refaire après le 1er boot."