yadm alternates

This commit is contained in:
2025-04-27 04:45:45 +02:00
parent de1618a98a
commit 5756bce179
7 changed files with 76 additions and 53 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/bash
echo "Installing paru dependencies"
sudo pacman -S base-devel git --needed --noconfirm
if ! command -v paru &>/dev/null; then
echo "Installing paru..."
TEMP_DIR=$(mktemp -d)
git clone https://aur.archlinux.org/paru.git $TEMP_DIR/paru
cd $TEMP_DIR/paru
makepkg -si --noconfirm
fi
echo "Installing packages"
sudo -v
paru -S --noconfirm --needed - <$HOME/.config/yadm/data/packages.txt
echo "Changing default shell"
sudo chsh -s /bin/fish $USER
echo "Applying arrpc fix"
sudo cp /usr/lib/systemd/user/arrpc.service /etc/systemd/system/arrpc.service
sudo systemctl enable arrpc --now