From 606a1fec1b761393ff7d874b338113fc99562ae3 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Fri, 12 Sep 2025 08:37:22 +0200 Subject: [PATCH] [Install] Add auto-install of arch4edu and yay --- config/hypr/hyprland/general.conf | 1 - install | 39 ++++++++++++++++--------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/config/hypr/hyprland/general.conf b/config/hypr/hyprland/general.conf index 7966fd5..c5b7a07 100644 --- a/config/hypr/hyprland/general.conf +++ b/config/hypr/hyprland/general.conf @@ -54,7 +54,6 @@ input { } gestures { - workspace_swipe = true workspace_swipe_distance = 200 workspace_swipe_cancel_ratio = 0.3 workspace_swipe_forever = true diff --git a/install b/install index 604f937..689bcff 100755 --- a/install +++ b/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