[Install] Add auto-install of arch4edu and yay
This commit is contained in:
39
install
39
install
@@ -1,7 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Welcome. Please run as user. Sudo required"
|
||||
echo "
|
||||
==> Setting up arch4edu & yay
|
||||
"
|
||||
git clone https://aur.archlinux.org/yay
|
||||
cd yay
|
||||
makepkg -si
|
||||
cd ..
|
||||
rm -rf yay
|
||||
|
||||
reflector -c 'Switzerland, Germany' --sort 'rate' --protocol https --latest 10 --save /etc/pacman.d/mirrorlist
|
||||
echo "Server = https://at.arch4edu.mirror.kescher.at/\$arch" > /etc/pacman.d/mirrorlist
|
||||
|
||||
sudo cp ./system/pacman.conf /etc/pacman.conf
|
||||
|
||||
sudo pacman-key --recv-keys 7931B6D628C8D3BA
|
||||
sudo pacman-key --finger 7931B6D628C8D3BA
|
||||
sudo pacman-key --lsign-key 7931B6D628C8D3BA
|
||||
|
||||
# Read platform to install on (only if no platform file present in ~/.config/)
|
||||
read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform
|
||||
|
||||
# Hyprland
|
||||
yay -S hyprland hypridle hyprfreeze hyprlock plymouth aylurs-gtk-shell-git brightnessctl pulsemixer xdg-desktop-portal-hyprland cliphist grimblast wl-clipboard polkit-gnome swaybg polkit-kde-agent grim
|
||||
@@ -49,21 +67,4 @@ yay -S texlive biber textlive-latexextras texlab
|
||||
echo "==> Installing webdev utilities..."
|
||||
sudo npm i -g create-vue sitemap-generator-cli
|
||||
|
||||
|
||||
echo "Adjust the interface font using GNOME Tweaks"
|
||||
|
||||
mkdir ~/NextCloud/
|
||||
read -p "Press enter after logging into NextCloud"
|
||||
|
||||
unzip ~/NextCloud/Documents/Private/PC/oreo_spark_blue_cursors.zip
|
||||
tar -xf ~/NextCloud/Documents/Private/PC/monterey-grub-theme.tar.xz
|
||||
|
||||
cd ~/NextCloud/Documents/Private/PC/monterey-grub-theme
|
||||
./install.sh
|
||||
|
||||
cd ../
|
||||
|
||||
cp ./oreo_spark_blue_cursors /usr/share/icons/
|
||||
|
||||
|
||||
echo "DONE!"
|
||||
sudo cp ./system/greetd/config.toml /etc/greetd/config.toml
|
||||
|
Reference in New Issue
Block a user