2025-08-20 14:45:50 +02:00
|
|
|
START_DIR=$(pwd)
|
|
|
|
|
echo "$START_DIR"
|
|
|
|
|
|
|
|
|
|
echo "Installing basic drivers and utilities"
|
|
|
|
|
sudo pacman -Sy
|
2025-10-23 12:59:05 +02:00
|
|
|
sudo pacman -S mesa sof-firmware zsh curl linux-firmware-marvell gcc man-db lib32-mesa openssh reflector vulkan-radeon power-profiles-daemon cpupower lib32-pipewire pipewire-audio pipewire-pulse pavucontrol git base base-devel xdg-user-dirs --needed --noconfirm
|
|
|
|
|
|
|
|
|
|
#create the user folders
|
|
|
|
|
xdg-user-dirs-update
|
2025-10-20 10:48:19 +02:00
|
|
|
|
|
|
|
|
cpu_vendor=$(lscpu | grep "Vendor ID" | awk '{print $3}')
|
|
|
|
|
|
|
|
|
|
if [[ "$cpu_vendor" == "AuthenticAMD" ]]; then
|
|
|
|
|
echo "Detected AMD CPU — installing amd-ucode..."
|
|
|
|
|
sudo pacman -S amd-ucode --needed --noconfirm
|
2025-10-23 12:59:05 +02:00
|
|
|
sleep 3
|
2025-10-20 10:48:19 +02:00
|
|
|
elif [[ "$cpu_vendor" == "GenuineIntel" ]]; then
|
|
|
|
|
echo "Detected Intel CPU — installing intel-ucode..."
|
|
|
|
|
sudo pacman -S intel-ucode --needed --noconfirm
|
|
|
|
|
else
|
|
|
|
|
echo "⚠️ No supported CPU vendor detected."
|
|
|
|
|
echo "No CPU matched (Vendor ID: $cpu_vendor)"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
2025-08-20 14:45:50 +02:00
|
|
|
|
|
|
|
|
echo "Enabling reflector service for mirror optimization"
|
|
|
|
|
sudo systemctl enable reflector
|
|
|
|
|
|
|
|
|
|
echo "Installing yay"
|
|
|
|
|
git clone https://aur.archlinux.org/yay-bin.git $HOME/yay
|
|
|
|
|
sleep 2
|
|
|
|
|
|
|
|
|
|
cd $HOME/yay/
|
|
|
|
|
makepkg -si
|
|
|
|
|
cd
|
|
|
|
|
sleep 2
|
|
|
|
|
|
|
|
|
|
echo "Yay sync"
|
|
|
|
|
yay -Sy
|
|
|
|
|
|
2025-10-23 12:59:05 +02:00
|
|
|
sleep 3
|
2025-12-30 19:55:24 +01:00
|
|
|
echo "turning off grub timeout"
|
2025-12-30 21:21:23 +01:00
|
|
|
chmod 777 $START_DIR/grub/grub.sh
|
|
|
|
|
bash $START_DIR/grub/grub.sh
|
2025-12-30 19:55:24 +01:00
|
|
|
|
|
|
|
|
#sudo nano /etc/default/grub
|
|
|
|
|
#sudo grub-mkconfig -o /boot/grub/grub.cfg
|
2025-08-20 14:45:50 +02:00
|
|
|
|
|
|
|
|
echo "Installing hyprland and stuff for wm"
|
2025-11-03 20:34:03 +01:00
|
|
|
sudo pacman -S hyprland glow starship lua51 luarocks tmux hyprlock npm nodejs bluez bluez-utils btop docker docker-compose gradle gst-plugin-pipewire gvfs-smb htop hyprshot blueman network-manager-applet waybar yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ttf-jetbrains-mono ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim dotnet-runtime dotnet-sdk aspnet-runtime jdk-openjdk openjdk-doc libpulse mono nano nemo networkmanager-openvpn nmap opencv openssl openvpn pipewire pipewire-alsa pipewire-jack vlc vlc-plugins-all wget curl zram-generator --needed --noconfirm
|
2025-12-30 18:55:11 +01:00
|
|
|
sudo pacman -S hyprcursor hyprgraphics hyprland hyprland-guiutils hyprland-qt-support hyprlang hyprlock hyprpaper hyprpolkitagent hyprpwcenter hyprqt6engine hyprqt6engine-debug hyprshot hyprtoolkit hyprutils hyprwayland-scanner hyprwire xdg-desktop-portal-hyprland --needed --noconfirm
|
|
|
|
|
sudo pacman -S --needed --noconfirm baobab blender gnome-disk-utility gnome-text-editor libreoffice-fresh virtualbox virtualbox-guest-iso virtualbox-host-modules-arch bear clang gdb lazygit mariadb-clients mingw-w64-gcc openmpi podman python-pip raylib valgrind dos2unix rsync tree xboxdrv zip
|
2025-10-23 12:59:05 +02:00
|
|
|
#yay -S xwaylandvideobridge --needed --noconfirm
|
2025-08-20 14:45:50 +02:00
|
|
|
yay -S zen-browser-bin --needed --noconfirm
|
2025-12-30 18:55:11 +01:00
|
|
|
yay -S unityhub --needed --noconfirm
|
2025-08-20 14:45:50 +02:00
|
|
|
|
2025-10-23 12:59:05 +02:00
|
|
|
#.bashrc line for starship
|
|
|
|
|
echo 'eval "$(starship init bash)"' >> $HOME/.bashrc
|
|
|
|
|
|
2025-08-20 14:45:50 +02:00
|
|
|
echo "Turining on sddm login manager"
|
|
|
|
|
sudo systemctl enable sddm
|
|
|
|
|
|
|
|
|
|
echo "Cloining kickstart nvim to nvim config location"
|
2025-12-30 20:08:06 +01:00
|
|
|
git clone http://rpiserver.ddns.net:3000/htamas1210/kickstart-modular.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
2025-08-20 14:45:50 +02:00
|
|
|
|
|
|
|
|
echo "Installing rust and go and bootdev cli"
|
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
|
|
|
curl -sS https://webi.sh/golang | sh; source ~/.config/envman/PATH.env
|
|
|
|
|
go install github.com/bootdotdev/bootdev@latest
|
|
|
|
|
curl -sS https://webi.sh/gh | sh; source ~/.config/envman/PATH.env
|
|
|
|
|
|
2025-08-20 16:45:20 +02:00
|
|
|
mkdir -p $HOME/.config/hypr/
|
|
|
|
|
cp "$START_DIR"/hypr/* $HOME/.config/hypr/ -r
|
2025-08-20 14:45:50 +02:00
|
|
|
|
|
|
|
|
#hyprpaper and conf
|
|
|
|
|
mkdir -p $HOME/Pictures/Wallpaper/
|
|
|
|
|
git clone https://github.com/htamas1210/Wallpapers.git $HOME/Pictures/Wallpaper/
|
|
|
|
|
printf "splash = true\nipc = on" > $HOME/.config/hypr/hyprpaper.conf
|
|
|
|
|
|
2025-08-20 16:45:20 +02:00
|
|
|
#waybar
|
|
|
|
|
mkdir -p $HOME/.config/waybar/
|
|
|
|
|
cp "$START_DIR"/waybar/* $HOME/.config/waybar -r
|
|
|
|
|
|
2025-08-20 21:51:52 +02:00
|
|
|
#rofi
|
|
|
|
|
mkdir -p .config/rofi
|
|
|
|
|
cp "$START_DIR"/rofi/* $HOME/.config/rofi/ -r
|
|
|
|
|
|
2025-08-21 13:56:51 +02:00
|
|
|
#apps
|
2025-12-30 21:21:23 +01:00
|
|
|
yay -S jellifin-media-player youtube-dl-gui jetbrains-toolbox sddm-silent-theme --needed --noconfirm
|
2025-12-30 18:55:11 +01:00
|
|
|
yay -S --needed --noconfirm rpi-imager dirb wordlists
|
|
|
|
|
|
|
|
|
|
echo "Setting up sddm silent theme"
|
|
|
|
|
sudo echo " # Make sure these options are correct:
|
|
|
|
|
[General]
|
|
|
|
|
InputMethod=qtvirtualkeyboard
|
|
|
|
|
GreeterEnvironment=QML2_IMPORT_PATH=/usr/share/sddm/themes/silent/components/,QT_IM_MODULE=qtvirtualkeyboard
|
|
|
|
|
|
|
|
|
|
[Theme]
|
|
|
|
|
Current=silent" > /etc/sddn.conf
|
|
|
|
|
|
2025-12-31 16:32:11 +01:00
|
|
|
#xbox controller fix
|
|
|
|
|
echo 1 | sudo tee /sys/module/bluetooth/parameters/disable_ertm
|
|
|
|
|
|
2025-08-21 13:56:51 +02:00
|
|
|
sudo pacman -S steam nwg-displays calibre freecad obs-studio samba cmake feh --needed --noconfirm
|
|
|
|
|
sudo pacman -S wine wine-gecko wine-mono winetricks --needed --noconfirm
|
2025-12-30 21:21:23 +01:00
|
|
|
yay -S rustdesk --needed --noconfirm
|
2025-08-21 13:56:51 +02:00
|
|
|
|
2025-10-23 12:59:05 +02:00
|
|
|
#echo "Installing Oh my zsh"
|
|
|
|
|
#sudo pacman -S --needed --noconfirm zsh-autosuggestions zsh-syntax-highlighting
|
2025-10-20 10:48:19 +02:00
|
|
|
#sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
|
|
|
#cp "$START_DIR"/zsh/.zshcr $HOME/.zshrc
|
|
|
|
|
#git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
|
|
|
|
#git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
2025-08-21 13:56:51 +02:00
|
|
|
#wget https://raw.githubusercontent.com/zakaziko99/agnosterzak-ohmyzsh-theme/master/agnosterzak.zsh-theme
|
2025-10-20 10:48:19 +02:00
|
|
|
#chsh -s $(which zsh)
|