feat(Installer): Add Multi Desktop environnement in the installer to allow the user to choose wich desktop env

This commit is contained in:
2026-05-27 19:22:42 +02:00
parent a9d4b9ac91
commit f6ee07429b
23 changed files with 358 additions and 25 deletions
@@ -53,4 +53,12 @@ fws_write_sddm_config() {
mkdir -p /etc/sddm.conf.d
printf '[Autologin]\nUser=%s\nSession=%s.desktop\nRelogin=false\n' "$user_name" "$session_name" > /etc/sddm.conf.d/50-fws.conf
}
# Paquets installés par défaut sur tous les bureaux
fws_install_base_apps() {
fws_install_packages firefox libreoffice-fresh mariadb mariadb-clients
mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql \
>/dev/null 2>&1 || true
fws_enable_services mariadb.service
}
@@ -5,6 +5,7 @@ set -euo pipefail
first_user="$(fws_first_user)"
fws_install_base_apps
fws_install_packages gnome sddm
fws_disable_services lightdm.service gdm.service
fws_enable_services sddm.service
@@ -5,6 +5,7 @@ set -euo pipefail
first_user="$(fws_first_user)"
fws_install_base_apps
fws_install_packages hyprland xdg-desktop-portal-hyprland xdg-desktop-portal-gtk waybar wofi kitty swaybg swayidle swaylock xorg-xwayland wl-clipboard grim slurp qt5-wayland qt6-wayland sddm
fws_disable_services lightdm.service gdm.service
fws_enable_services sddm.service
@@ -5,6 +5,7 @@ set -euo pipefail
first_user="$(fws_first_user)"
fws_install_base_apps
fws_install_packages plasma-meta konsole dolphin sddm
fws_disable_services lightdm.service gdm.service
fws_enable_services sddm.service
@@ -5,6 +5,7 @@ set -euo pipefail
first_user="$(fws_first_user)"
fws_install_base_apps
fws_install_packages xfce4 xfce4-goodies lightdm lightdm-gtk-greeter
fws_disable_services sddm.service gdm.service
fws_enable_services lightdm.service