edits for fig

pull/3/head
Matt C 3 years ago
parent e5921c98fe
commit 319303f1cf

@ -1,7 +1,7 @@
# Maintainer: Matt C <mdc028[at]bucknell[dot]edu>
pkgname=citrine
pkgver=3.4.0
pkgver=3.4.5
pkgrel=1
pkgdesc="Crystal Linux Script for installing the system"
arch=('any')
@ -10,7 +10,7 @@ license=('custom')
source=("citrine.sh" "citrine.internal.sh")
depends=('arch-install-scripts' 'util-linux' 'parted' 'dialog' 'dosfstools' 'ntp' 'python' 'wget')
md5sums=('c16f9c01d656886b905071cb5477d3e3'
'306d855ec9525d40b9b9547ee0d477d6')
'd73cb6dd812ba595636d27bcfc75d9d4')
package() {
chmod +x *.sh

@ -332,6 +332,7 @@ cp -v /etc/pacman.conf /mnt/etc/pacman.conf
arch-chroot /mnt pacman -Sy --quiet --noconfirm
while [[ "$DE" == "" ]]; do
if [[ ! -f /etc/fig ]]; then
menu=$(dialog --title "Citrine" --menu "Select the Desktop Environment you want to install" 12 100 4 "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" 12 100 1 "Onyx" "Our custom Desktop Environment based on Budgie" --stdout)
@ -348,26 +349,21 @@ while [[ "$DE" == "" ]]; do
DE=""
fi
fi
else
DE="Fig"
fi
if [[ "$DE" == "Onyx" ]]; then
arch-chroot /mnt pacman -S --quiet --noconfirm onyx xorg-server budgie-desktop gnome
# This didn't work :C
#arch-chroot /mnt su - ${UN} -c "gsettings set org.gnome.desktop.interface gtk-theme \"crystal-obsidian\""
#arch-chroot /mnt su - ${UN} -c "gsettings set org.gnome.desktop.interface icon-theme \"crystal-obsidian-icons\""
mkdir -p /mnt/etc/skel/
echo "gsettings set org.gnome.desktop.interface gtk-theme \"crystal-obsidian\"" >> /mnt/etc/skel/.xsession
echo "gsettings set org.gnome.desktop.interface icon-theme \"crystal-obsidian-icons\"" >> /mnt/etc/skel/.xsession
# homedir of user that exists will also already exist
echo "gsettings set org.gnome.desktop.interface gtk-theme \"crystal-obsidian\"" >> /mnt/home/${UN}/.xsession
echo "gsettings set org.gnome.desktop.interface icon-theme \"crystal-obsidian-icons\"" >> /mnt/home/${UN}/.xsession
DM="lightdm"
elif [[ "$DE" == "Gnome" ]]; then
arch-chroot /mnt pacman -S --quiet --noconfirm gnome gnome-extra chrome-gnome-shell
DM="gdm"
elif [[ "$DE" == "KDE" ]]; then
elif [[ "$DE" == "KDE" || "$DE" == "Fig" ]]; then
arch-chroot /mnt pacman -S --quiet --noconfirm plasma kde-applications sddm
DM="sddm"
elif [[ "$DE" == "budgie" ]]; then
@ -413,13 +409,9 @@ if [[ "$DM" != "" ]]; then
arch-chroot /mnt pacman -S --quiet --noconfirm lightdm-gtk-greeter
fi
if [[ "$DM" != "none" ]]; then
yesno "Would you like to enable ${DM} for ${DE}? (Y/n)"
useDM="$yn"
if [[ "$useDM" != "1" ]]; then
arch-chroot /mnt systemctl enable ${DM}
fi
fi
fi
if [[ "$DE" != "none" ]]; then
yesno "Would you like to install Firefox to go with ${DE}?"
@ -451,6 +443,7 @@ if [[ "$DE" != "Fig" ]]; then
echo >> /mnt/etc/default/grub
echo "GRUB_THEME=\"/usr/share/grub/themes/crystal/theme.txt\"" >> /mnt/etc/default/grub
else
arch-chroot /mnt pacman -S --quiet --noconfirm crystal-grub-theme fig-configs
echo >> /mnt/etc/default/grub
echo "GRUB_THEME=\"/usr/share/grub/themes/bigsur/theme.txt\"" >> /mnt/etc/default/grub
fi

Loading…
Cancel
Save