gum spin removed
This commit is contained in:
56
install.sh
56
install.sh
@@ -35,18 +35,18 @@ fi
|
||||
|
||||
if ! command -v yay &>/dev/null; then
|
||||
sudo -v
|
||||
gum spin --title "Installing yay dependencies" -- \
|
||||
sudo pacman -S base-devel git --needed --noconfirm
|
||||
# gum spin --title "Installing yay dependencies" -- \
|
||||
sudo pacman -S base-devel git --needed --noconfirm
|
||||
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
|
||||
gum spin --title "Cloning yay-bin from AUR" -- \
|
||||
git clone https://aur.archlinux.org/yay-bin.git $TEMP_DIR/yay
|
||||
# gum spin --title "Cloning yay-bin from AUR" -- \
|
||||
git clone https://aur.archlinux.org/yay-bin.git $TEMP_DIR/yay
|
||||
cd $TEMP_DIR/yay
|
||||
|
||||
sudo -v
|
||||
gum spin --title "Installing yay" -- \
|
||||
makepkg -si --noconfirm
|
||||
# gum spin --title "Installing yay" -- \
|
||||
makepkg -si --noconfirm
|
||||
fi
|
||||
|
||||
#############################
|
||||
@@ -87,8 +87,8 @@ mapfile -t extratools < <(
|
||||
#####################
|
||||
|
||||
sudo -v
|
||||
gum spin --title "Installing GNU Stow" -- \
|
||||
yay -S --needed --noconfirm stow
|
||||
# gum spin --title "Installing GNU Stow" -- \
|
||||
yay -S --needed --noconfirm stow
|
||||
|
||||
######################
|
||||
## Applying configs ##
|
||||
@@ -98,8 +98,8 @@ for choice in "${desktop[@]}"; do
|
||||
case "$choice" in
|
||||
"Niri")
|
||||
sudo -v
|
||||
gum spin --title "Installing niri alongside required packages" -- \
|
||||
yay -S --needed --noconfirm \
|
||||
# gum spin --title "Installing niri alongside required packages" -- \
|
||||
yay -S --needed --noconfirm \
|
||||
niri \
|
||||
ly \
|
||||
nautilus \
|
||||
@@ -122,8 +122,8 @@ for choice in "${desktop[@]}"; do
|
||||
|
||||
"KDE Plasma")
|
||||
sudo -v
|
||||
gum spin --title "Installing KDE Plasma" -- \
|
||||
pacman -S --needed --noconfirm plasma kde-applications
|
||||
# gum spin --title "Installing KDE Plasma" -- \
|
||||
pacman -S --needed --noconfirm plasma kde-applications
|
||||
sudo systemctl enable sddm
|
||||
;;
|
||||
esac
|
||||
@@ -133,8 +133,8 @@ for choice in "${tools[@]}"; do
|
||||
case "$choice" in
|
||||
"Terminal")
|
||||
sudo -v
|
||||
gum spin --title "Installing Terminal packages..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
# gum spin --title "Installing Terminal packages..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
fastfetch \
|
||||
hyfetch \
|
||||
neovim \
|
||||
@@ -148,22 +148,22 @@ for choice in "${tools[@]}"; do
|
||||
zoxide \
|
||||
reflector
|
||||
stow fastfetch hyfetch nvim zsh --override
|
||||
gum spin --title "Updating Tealdeer database" -- \
|
||||
tldr --update
|
||||
# gum spin --title "Updating Tealdeer database" -- \
|
||||
tldr --update
|
||||
;;
|
||||
|
||||
"Terminal Emulator")
|
||||
sudo -v
|
||||
gum spin --title "Installing Terminal Emulator..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
# gum spin --title "Installing Terminal Emulator..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
ghostty
|
||||
stow ghostty --override
|
||||
;;
|
||||
|
||||
"Gaming")
|
||||
sudo -v
|
||||
gum spin --title "Installing Gaming Packages..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
# gum spin --title "Installing Gaming Packages..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
mangohud \
|
||||
gamemode \
|
||||
steam \
|
||||
@@ -173,23 +173,23 @@ for choice in "${tools[@]}"; do
|
||||
stow mangohud --override
|
||||
|
||||
sudo -v
|
||||
gum spin --spinner minidot --title "Applying arrpy systemd fix..." -- \
|
||||
sudo cp /usr/lib/systemd/user/arrpc.service /etc/systemd/system/arrpc.service &&
|
||||
# gum spin --spinner minidot --title "Applying arrpy systemd fix..." -- \
|
||||
sudo cp /usr/lib/systemd/user/arrpc.service /etc/systemd/system/arrpc.service &&
|
||||
sudo systemctl enable arrpc --now
|
||||
;;
|
||||
|
||||
"VR Gaming")
|
||||
sudo -v
|
||||
gum spin --title "Installing VR Gaming Packages..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
# gum spin --title "Installing VR Gaming Packages..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
alvr-launcher-bin \
|
||||
wlx-overlay-s-bin
|
||||
;;
|
||||
|
||||
"Hamr Sticker Picker")
|
||||
sudo -v
|
||||
gum spin --title "Installing hamr..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
# gum spin --title "Installing hamr..." -- \
|
||||
yay -S --needed --noconfirm \
|
||||
hamr
|
||||
|
||||
stow hamr-sticker-picker --override
|
||||
@@ -231,5 +231,5 @@ extpkgstr=$(
|
||||
)
|
||||
|
||||
sudo -v
|
||||
gum spin --title "Installing extra packages" -- \
|
||||
yay -S --needed --noconfirm "$extpkgstr"
|
||||
# gum spin --title "Installing extra packages" -- \
|
||||
yay -S --needed --noconfirm "$extpkgstr"
|
||||
|
||||
Reference in New Issue
Block a user