From 04f1a29009e53e0496d6b7cce163a767e21f531b Mon Sep 17 00:00:00 2001 From: Vivian Elisabeth H <36878099+SparkleDEV@users.noreply.github.com> Date: Wed, 31 Dec 2025 02:12:30 +0100 Subject: [PATCH] Added setup script --- packages.txt | 22 ++++++++++++++++++++++ setup.sh | 31 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 packages.txt create mode 100755 setup.sh diff --git a/packages.txt b/packages.txt new file mode 100644 index 0000000..45deb2d --- /dev/null +++ b/packages.txt @@ -0,0 +1,22 @@ +arrpc +btop +eza +fastfetch +fuzzel +fzf +ghostty +git +hyfetch +ncdu +neovim +oh-my-posh +otf-linja-pona +power-profiles-daemon +reflector +tealdeer +reflector +ttf-sourcecodepro-nerd +vim +wl-clipboard +zoxide +zsh diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..0042622 --- /dev/null +++ b/setup.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash + +if ! command -v paru &>/dev/null; then + echo "Installing paru" + sudo pacman -S base-devel git --needed --noconfirm + + TEMP_DIR=$(mktemp -d) + + git clone https://aur.archlinux.org/paru-bin.git $TEMP_DIR/paru-bin + cd $TEMP_DIR/paru-bin + + makepkg -si --noconfirm +fi + +echo "Installing packages" +sudo -v +paru -S --noconfirm --needed - <$HOME/.dotfiles/packages.txt + +echo "Changing default shell" +sudo chsh -s /bin/zsh $USER + +echo "Setting default git branch to \"main\"" +git config --global init.defaultBranch main + +echo "Applying arrpc fix" +sudo cp /usr/lib/systemd/user/arrpc.service /etc/systemd/system/arrpc.service +sudo systemctl enable arrpc --now + +echo "Applying stow" +cd $HOME/.dotfiles +stow fastfetch fuzzel ghostty godot hyfetch mangohud niri nvim oh-my-posh waybar wofi zsh