gum spin removed

This commit is contained in:
2026-01-09 00:41:35 +01:00
parent 08079566ef
commit 0eff0c2afe

View File

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