From cc9f38c71c0c4932cad1d9934da1c068be80f120 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Fri, 12 Sep 2025 09:29:18 +0200 Subject: [PATCH] [Install] Add more features --- install | 101 ++++++++++++++++++++++++++++++++++++++++------------ postinstall | 8 +++++ 2 files changed, 86 insertions(+), 23 deletions(-) create mode 100755 postinstall diff --git a/install b/install index 689bcff..3de645c 100755 --- a/install +++ b/install @@ -3,6 +3,7 @@ echo " ==> Setting up arch4edu & yay " + git clone https://aur.archlinux.org/yay cd yay makepkg -si @@ -10,7 +11,7 @@ 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 +echo "Server = https://at.arch4edu.mirror.kescher.at/\$arch" >/etc/pacman.d/mirrorlist sudo cp ./system/pacman.conf /etc/pacman.conf @@ -18,53 +19,107 @@ 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 +echo " +==> Installing Hyprland +" +sleep 2 +yay -S --noconfirm --noremovemake hyprland hypridle hyprfreeze hyprlock aylurs-gtk-shell-git brightnessctl pulsemixer xdg-desktop-portal-hyprland cliphist grimblast wl-clipboard polkit-gnome swaybg polkit-kde-agent grim # Audio, drivers -echo "==> Installing drivers..." -yay -S pipewire pipewire-alsa pipewire-pulse pipewire-jack mesa wireplumber trash-cli sensors radeontop lm-sensors smartmontools +echo " +==> Installing drivers... +" +sleep 2 +yay -S --noconfirm --noremovemake pipewire pipewire-alsa pipewire-pulse pipewire-jack mesa wireplumber trash-cli sensors radeontop lm-sensors smartmontools # Tools -echo "==> Installing tools..." -yay -S fish fzf ouch zathura wget vimiv zoxide thunar yazi gnome-tweaks lxappearance gnome-keyring ffmpeg network-manager-applet cpupower-gui python-tkinter acpi python-pillow seahorse +echo " +==> Installing tools... +" +sleep 2 + +yay -S --noconfirm --noremovemake fish fzf ouch zathura wget vimiv zoxide thunar yazi gnome-tweaks lxappearance gnome-keyring ffmpeg network-manager-applet cpupower-gui python-tkinter acpi python-pillow seahorse # Set up yazi -echo "==> Setting up yazi..." +echo " +==> Setting up yazi... +" +sleep 2 ya pkg add ndtoan96/ouch ya pkg add boydaihungst/restore ya pkg add yazi-rs/plugins:vcs-files # Fonts -echo "==> Installing fonts..." -yay -S adobe-source-code-pro-fonts gnome-font-viewer gnome-characters ttf-fantasque-nerd ttf-jetbrains-mono-nerd ttf-fluentui-system-icons ttf-comfortaa +echo " +==> Installing fonts... +" +sleep 2 +yay -S --noconfirm --noremovemake adobe-source-code-pro-fonts gnome-font-viewer gnome-characters ttf-fantasque-nerd ttf-jetbrains-mono-nerd ttf-fluentui-system-icons ttf-comfortaa # Programming -echo "==> Installing coding tools..." -yay -S meld docker vscodium kitty fish docker terminator bvi nodejs npm python-pip git-credential-manager-core-bin wine kate rustup cargo filezilla php jdk +echo " +==> Installing coding tools... +" +sleep 2 +yay -S --noconfirm --noremovemake docker vscodium kitty fish docker terminator bvi nodejs npm python-pip git-credential-manager-core-bin wine kate rustup cargo filezilla php jdk # nvim -echo "==> Installing nvim..." -yay -S neovim lua lua-language-server tree-sitter texlab stylua luarocks jdtls perl julia autojump pyright vscode-css-languageserver vscode-html-languageserver bash-language-server lazygit python-black proselint asmfmt typescript-language-server shfmt +echo " +==> Installing nvim... +" +sleep 2 +yay -S --noconfirm --noremovemake neovim lua lua-language-server tree-sitter texlab stylua luarocks jdtls perl julia pyright vscode-css-languageserver vscode-html-languageserver bash-language-server python-black proselint asmfmt typescript-language-server shfmt sass sudo npm i -g @vue/typescript-plugin # Internet -echo "==> Installing internet programs..." -yay -S librewolf-bin vesktop-bin thunderbird rustdesk brave-bin +echo " +==> Installing internet programs... +" +sleep 2 +yay -S --noconfirm --noremovemake librewolf-bin vesktop-bin thunderbird rustdesk brave-bin # Utilities -echo "==> Installing other utilities..." -yay -S okular vlc nextcloud-client p7zip zip unzip gnome-keyring noto-fonts thunderbird pamixer pavucontrol light fastfetch bashtop hugo sddm uxplay upower gdu dig nwg-look serpl fcitx5 qalculate-gtk openconnect light blueman xdg-desktop-portal-termfilechooser-hunkiburrito-git +echo " +==> Installing other utilities... +" +sleep 2 +yay -S --noconfirm --noremovemake okular vlc nextcloud-client p7zip zip unzip gnome-keyring noto-fonts pavucontrol light fastfetch bashtop hugo uxplay upower gdu dig nwg-look serpl fcitx5 qalculate-gtk openconnect light blueman xdg-desktop-portal-termfilechooser-hunkyburrito-git lazygit # LaTeX -echo "==> Installing LaTeX..." -yay -S texlive biber textlive-latexextras texlab +echo " +==> Installing LaTeX... +" +sleep 2 +yay -S --noconfirm --noremovemake texlive biber texlive-latexextra # WebDev utilities -echo "==> Installing webdev utilities..." +echo " +==> Installing webdev utilities... +" +sleep 2 sudo npm i -g create-vue sitemap-generator-cli +echo " +==> Doing system config... +" +sleep 2 sudo cp ./system/greetd/config.toml /etc/greetd/config.toml +chsh -s /bin/fish +sudo systemctl enable greetd + +./setup + +cd ~/projects/active/ +git clone https://git.janishutz.com/janishutz/nvim +cd nvim +./nvim-install.sh + +echo " + +==> DONE! + +Run the postinstall script after a reboot and logging into NextCloud +to install the grub theme and cursor icons. +Use GNOME Tweaks to change the necessary appearance settings. +" diff --git a/postinstall b/postinstall new file mode 100755 index 0000000..f0f71cf --- /dev/null +++ b/postinstall @@ -0,0 +1,8 @@ +#!/bin/sh + +cd ~/NextCloud/Documents/Private/PC/ +unzip ./oreo_spark_blue_cursors.zip +sudo mv ./oreo_spark_blue_cursors /usr/share/icons + +cd monterey-grub-theme/ +./install.sh