diff options
| -rw-r--r-- | README.md | 9 | ||||
| -rwxr-xr-x | install_packages.sh | 53 | ||||
| -rw-r--r-- | packages/aur | 6 | ||||
| -rw-r--r-- | packages/core_extra | 102 | ||||
| -rw-r--r-- | packages/multilib | 1 |
5 files changed, 171 insertions, 0 deletions
@@ -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 |
