Files
dotfiles/install

71 lines
2.8 KiB
Bash
Executable File

#!/bin/sh
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
# Audio, drivers
echo "==> Installing drivers..."
yay -S 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
# Set up yazi
echo "==> Setting up yazi..."
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
# 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
# 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
sudo npm i -g @vue/typescript-plugin
# Internet
echo "==> Installing internet programs..."
yay -S 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
# LaTeX
echo "==> Installing LaTeX..."
yay -S texlive biber textlive-latexextras texlab
# WebDev utilities
echo "==> Installing webdev utilities..."
sudo npm i -g create-vue sitemap-generator-cli
sudo cp ./system/greetd/config.toml /etc/greetd/config.toml