@ -136,32 +136,12 @@ if [[ "$MANUAL" == "no" ]]; then
mkfs.vfat ${DISK}p1
mkfs.vfat ${DISK}p1
mkfs.btrfs -f ${DISK}p2
mkfs.btrfs -f ${DISK}p2
mount ${DISK}p2 /mnt
mount ${DISK}p2 /mnt
cd /mnt
mkdir -p /mnt/boot/efi
btrfs subvolume create @
btrfs subvolume create @home
btrfs subvolume create @var
cd /
umount /mnt
mount -o noatime,compress=zstd,subvol=@ ${DISK}p2 /mnt
mkdir -p /mnt/{home,var,boot/efi}
mount -o noatime,compress=zstd,subvol=@home ${DISK}p2 /mnt/home
mount -o noatime,compress=zstd,subvol=@var ${DISK}p2 /mnt/var
mount ${DISK}p1 /mnt/boot/efi
mount ${DISK}p1 /mnt/boot/efi
else
else
inf "Initializing ${DISK} as NVME MBR"
inf "Initializing ${DISK} as NVME MBR"
mkfs.btrfs -f ${DISK}p1
mkfs.btrfs -f ${DISK}p1
mount ${DISK}p1 /mnt
mount ${DISK}p1 /mnt
cd /mnt
btrfs subvolume create @
btrfs subvolume create @home
btrfs subvolume create @var
cd /
umount /mnt
mount -o noatime,compress=zstd,subvol=@ ${DISK}p1 /mnt
mkdir -p /mnt/{home,var}
mount -o noatime,compress=zstd,subvol=@home ${DISK}p1 /mnt/home
mount -o noatime,compress=zstd,subvol=@var ${DISK}p1 /mnt/var
mount ${DISK}p1 /mnt
fi
fi
else
else
if[["$EFI"=="yes"]];then
if[["$EFI"=="yes"]];then
@ -169,16 +149,7 @@ if [[ "$MANUAL" == "no" ]]; then
mkfs.vfat -F32 ${DISK}1
mkfs.vfat -F32 ${DISK}1
mkfs.btrfs -f ${DISK}2
mkfs.btrfs -f ${DISK}2
mount ${DISK}2 /mnt
mount ${DISK}2 /mnt
cd /mnt
mkdir -p /mnt/boot/efi
btrfs subvolume create @
btrfs subvolume create @home
btrfs subvolume create @var
cd /
umount /mnt
mount -o noatime,compress=zstd,subvol=@ ${DISK}2 /mnt
mkdir -p /mnt/{home,var,boot/efi}
mount -o noatime,compress=zstd,subvol=@home ${DISK}2 /mnt/home
mount -o noatime,compress=zstd,subvol=@var ${DISK}2 /mnt/var
mount ${DISK}1 /mnt/boot/efi
mount ${DISK}1 /mnt/boot/efi
else
else
inf "Initializing ${DISK} as MBR"
inf "Initializing ${DISK} as MBR"
@ -377,87 +348,57 @@ clear
arch-chroot /mnt pacman -Sy --quiet --noconfirm
arch-chroot /mnt pacman -Sy --quiet --noconfirm
while[["$DE"==""]];do
#if [[ "$DEP" == "0" ]]; then
menu=$(dialog --title "Citrine" --menu "Select the Desktop Environment you want to install"121004"Official""Our pre-themed desktop environments""Third Party (supported)""Third party Desktop Environments that are supported""Third Party (unsupported)""Third Party Desktop Environments that aren't supported""None/DIY""Install no de from this list" --stdout)
#inf "--- Desktop Environments ---"
if[["$menu"=="Official"]];then
#inf "- GNOME"
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Onyx""Our custom Desktop Environment based on XFCE""Onyx tiling""Our custom Desktop Environment based on xfce but with i3 as the wm" --stdout)
#inf "- KDE"
elif[["$menu"=="Third Party (supported)"]];then
#inf "- Xfce"
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121005"Gnome""The Gnome desktop environment""KDE""The KDE desktop environment""Xfce""The xfce desktop environment""budgie""The budgie desktop environment""Mate""The Mate desktop environment" --stdout)
#inf "- Budgie"
elif[["$menu"=="Third Party (unsupported)"]];then
#inf "Please enter exactly as shown."
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Pantheon""The Pantheon desktop environment from elementaryos""Enlightenment""A very DIY desktop environment, refer to archwiki" --stdout)
#prompt ""
elif[["$menu"=="None/DIY"]];then
#echo "DE=$response"
yesno "Are you sure that you dont want to install any DE?"
menu=$(dialog --title "Citrine" --menu "Select the Desktop Environment you want to install"121004"Official""Our pre-themed desktop environments""Third Party (supported)""Third party Desktop Environments that are supported""Third Party (unsupported)""Third Party Desktop Environments that aren't supported""None/DIY""Install no de from this list" --stdout)
if[["$menu"=="Official"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Onyx""Our custom Desktop Environment based on XFCE""Onyx tiling""Our custom Desktop Environment based on xfce but with i3 as the wm" --stdout)
elif[["$menu"=="Third Party (supported)"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121005"Gnome""The Gnome desktop environment""KDE""The KDE desktop environment""Xfce""The xfce desktop environment""budgie""The budgie desktop environment""Mate""The Mate desktop environment" --stdout)
elif[["$menu"=="Third Party (unsupported)"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Pantheon""The Pantheon desktop environment from elementaryos""Enlightenment""A very DIY desktop environment, refer to archwiki" --stdout)
elif[["$menu"=="None/DIY"]];then
yesno "Are you sure that you dont want to install any DE?"