aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-07-25 14:04:55 +0200
committerMosder <xmosder12@gmail.com>2026-07-25 14:04:55 +0200
commit4bba2d3484fbaaa15de09be273aac507c913adff (patch)
treecf24b6012e077585b68d9cc156ce12125c4ac2fd
parent4a9d9ac589f7ef41eb869dffc3d1b499bd8c653c (diff)
added script for installing cool packages
-rw-r--r--README.md9
-rwxr-xr-xinstall_packages.sh53
-rw-r--r--packages/aur6
-rw-r--r--packages/core_extra102
-rw-r--r--packages/multilib1
5 files changed, 171 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3dfd17f..70bc8e9 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,15 @@ My config files for both my desktop PC and laptop.
## Usage
+To install packages use:
+
+```./install_packages.sh```
+
+It will install packages listed in the `packages` directory.
+It will also upgrade the system and install the `yay` wrapper for AUR.
+
+---
+
To load the config on your device you can use:
```./load_config.sh (desktop | laptop)```
diff --git a/install_packages.sh b/install_packages.sh
new file mode 100755
index 0000000..771d0cc
--- /dev/null
+++ b/install_packages.sh
@@ -0,0 +1,53 @@
+#!/usr/bin/env bash
+
+cd "$(dirname "${BASH_SOURCE[0]}")"
+SCRIPT_DIR="$(pwd)"
+
+CORE_EXTRA="packages/core_extra"
+MULTILIB="packages/multilib"
+AUR="packages/aur"
+
+distinct_echo() {
+ echo
+ printf '%.s-' {1..80}; echo
+
+ for msg in "$@"; do
+ echo "$msg"
+ done
+
+ printf '%.s-' {1..80}; echo
+ echo
+}
+
+install_yay() {
+ git clone https://aur.archlinux.org/yay.git /tmp/yay
+ cd /tmp/yay
+ makepkg -si
+ cd "$SCRIPT_DIR"
+ rm -rf /tmp/yay
+}
+
+distinct_echo "Ensuring keyring and dbs are synced..."
+sudo pacman -Sy archlinux-keyring
+
+distinct_echo "Upgrading system..."
+sudo pacman -Syu
+
+distinct_echo "Installing core/extra packages..."
+sudo pacman -S $(cat "$CORE_EXTRA")
+
+distinct_echo "Installing multilib packages (aka steam)..." "Make sure you have multilib enabled in /etc/pacman.conf"
+sudo pacman -S $(cat "$MULTILIB")
+
+if which yay &>/dev/null; then
+ distinct_echo "Updating yay..."
+ yay -S yay
+else
+ distinct_echo "Yay not found. Installing..."
+ install_yay
+fi
+
+distinct_echo "Installing AUR packages..." "(Hopefully they're not infected lol)"
+yay -S $(cat "$AUR")
+
+echo -e "\nDone."
diff --git a/packages/aur b/packages/aur
new file mode 100644
index 0000000..727ed4f
--- /dev/null
+++ b/packages/aur
@@ -0,0 +1,6 @@
+adwaita-qt5-git
+brave-bin
+catppuccin-gtk-theme-mocha
+rose-pine-cursor
+rose-pine-hyprcursor
+wezterm-git
diff --git a/packages/core_extra b/packages/core_extra
new file mode 100644
index 0000000..8be36ae
--- /dev/null
+++ b/packages/core_extra
@@ -0,0 +1,102 @@
+7zip
+alsa-utils
+amd-ucode
+base
+base-devel
+bash
+bc
+bear
+brightnessctl
+btrfs-progs
+clang
+cmake
+curl
+discord
+docker
+docker-compose
+dunst
+fastfetch
+fd
+ffmpeg
+gcc
+gdb
+git
+grub
+hyprcursor
+hypridle
+hyprland
+hyprlock
+hyprpaper
+hyprpicker
+hyprpolkitagent
+hyprshot
+kwallet
+libadwaita
+linux
+linux-firmware
+linux-headers
+linux-lts
+linux-lts-headers
+lua
+luajit
+make
+man-db
+man-pages
+mesa
+mkinitcpio
+neovim
+networkmanager
+nmap
+noto-fonts
+noto-fonts-cjk
+noto-fonts-emoji
+noto-fonts-extra
+npm
+nwg-look
+openssh
+otf-font-awesome
+papirus-icon-theme
+pipewire
+pipewire-alsa
+pipewire-audio
+pipewire-jack
+pipewire-pulse
+playerctl
+protontricks
+python
+qbittorrent
+qt5ct
+ranger
+ripgrep
+sddm
+stb
+swayosd
+tar
+tcpdump
+termshark
+thunar
+tree-sitter
+tree-sitter-cli
+ttf-jetbrains-mono
+ttf-liberation
+ttf-nerd-fonts-symbols
+ttf-nerd-fonts-symbols-mono
+ttf-noto-nerd
+udiskie
+unzip
+uv
+vim
+vlc
+vulkan-radeon
+waybar
+wine
+winetricks
+wireplumber
+wireshark-cli
+wl-clipboard
+woff2
+woff2-font-awesome
+wofi
+xdg-desktop-portal-hyprland
+yt-dlp
+zip
diff --git a/packages/multilib b/packages/multilib
new file mode 100644
index 0000000..f7145d4
--- /dev/null
+++ b/packages/multilib
@@ -0,0 +1 @@
+steam