From 2e8600d6cdb0856d95be04f129f9731955f7a8f4 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sat, 4 Apr 2026 14:45:39 +0100 Subject: Add sway desktop option --- config | 4 ++-- install.sh | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/config b/config index d2ca516..8c30303 100644 --- a/config +++ b/config @@ -35,5 +35,5 @@ autologin=false # Encryption encrypt=true -# Extra packages -extrapkgs=false +# Install desktop +swaydesktop=false diff --git a/install.sh b/install.sh index 8e6751a..0042070 100755 --- a/install.sh +++ b/install.sh @@ -361,6 +361,23 @@ grub_options="--target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB" artix-chroot /mnt bash -c "grub-install ${grub_options}" artix-chroot /mnt bash -c "grub-mkconfig -o /boot/grub/grub.cfg" +echo "BASE INSTALLATION COMPLETE" + +# Install desktop +if [[ "${swaydesktop}" == true ]]; then + basestrap /mnt --needed \ + sway swaybg waybar swaylock swayidle wl-clipboard \ + brightnessctl mako wlsunset bemenu-wayland \ + pipewire-{alsa,pulse,jack} wireplumber rtkit \ + ttf-{dejavu,hack-nerd} \ + pacman-contrib namcap \ + pass aspell-en rsync jq grim slurp eza \ + vifm newsraft calcurse zathura-pdf-poppler yt-dlp mpv \ + bluez-dinit bluez-utils \ + podman podman-compose flatpak \ + dillo firefox +fi + # FINISH swapoff -a umount -R /mnt -- cgit