Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Install-Nilla.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,18 @@ cd NILLA_TEMP
git clone $NILLA_REPO

cd Nilla
./Install-Dependencies.sh

if [ "$EUID" -eq 0 ]; then
./Install-Dependencies.sh
else
if command -v sudo &> /dev/null; then
sudo ./Install-Dependencies.sh
else
echo "Please install sudo and add yourself to sudoers"
fi
fi

endif

rm -rf $HOME/.config/hypr
cp -r ./hypr $HOME/.config/
Expand Down