1
0

Removed unneded wait for input and fix makefile usage.

This commit is contained in:
cronyakatsuki 2022-11-04 11:05:15 +01:00
parent 6de07a9faf
commit e55cc3a51e

View File

@ -344,13 +344,14 @@ cd ~
echo "Setting up paru" echo "Setting up paru"
sudo pacman -S --noconfirm --needed go rust nodejs npm cmake git zig sudo pacman -S --noconfirm --needed go rust nodejs npm cmake git zig
git clone https://aur.archlinux.org/paru.git ~/paru git clone https://aur.archlinux.org/paru.git ~/paru
read -n 1 -s -p "To continue press any key"
cd ~/paru cd ~/paru
makepkg -si makepkg -si
read -n 1 -s -p "To continue press any key" read -n 1 -s -p "To continue press any key"
cd ~ cd ~
rm -rf ~/paru rm -rf ~/paru
read -n 1 -s -p "To continue press any key"
echo "Reloading systemd-resolved"
sudo systemctl restart systemd-resolved
echo "Setting up additional must have aur packages" echo "Setting up additional must have aur packages"
paru -S --needed --noconfirm brillo dmenu-bluetooth clipmenu-git xdg-ninja-git tutanota-desktop-bin ferdium-bin colorpicker yt-dlp downgrade dashbinsh paru -S --needed --noconfirm brillo dmenu-bluetooth clipmenu-git xdg-ninja-git tutanota-desktop-bin ferdium-bin colorpicker yt-dlp downgrade dashbinsh
@ -364,7 +365,7 @@ git clone https://github.com/cronyakatsuki/arch-dots.git arch
read -n 1 -s -p "To continue press any key" read -n 1 -s -p "To continue press any key"
mkdir ~/.config mkdir ~/.config
cd ~/repos/dots/arch cd ~/repos/dots/arch
make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | fzf --multi --prompt "Choose what part of the arch related configs you wanna install: " | awk '{ print $1 }') make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | awk '{ print $1 }')
echo "Getting my general dotfiles" echo "Getting my general dotfiles"
mkdir -p ~/repos/dots mkdir -p ~/repos/dots
@ -372,7 +373,7 @@ cd ~/repos/dots
git clone https://github.com/cronyakatsuki/general-dots.git general git clone https://github.com/cronyakatsuki/general-dots.git general
read -n 1 -s -p "To continue press any key" read -n 1 -s -p "To continue press any key"
cd ~/repos/dots/general cd ~/repos/dots/general
make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | fzf --multi --prompt "Choose what part of the general related configs you wanna install: " | awk '{ print $1 }') make $(cat Makefile | grep -E '.*:.*' | column -t -s ':' | awk '{ print $1 }')
echo "Getting my scripts" echo "Getting my scripts"
mkdir -p ~/bin mkdir -p ~/bin