From 2c4f0238b29a92e09b2720680e1c7d013ba9de15 Mon Sep 17 00:00:00 2001 From: Rodolfo Barcelli Jo Date: Fri, 2 Aug 2024 18:31:24 +0800 Subject: [PATCH] make safety changes to packages that are installed. No yay packages installed without explicit request from the user --- arch-assets/archgamingpkg.txt | 1 + arch-assets/archpkg.txt | 5 ++++- arch-assets/yaypkg.txt | 1 - archsetup.sh | 6 ------ scripts/archgamedevsetup.sh | 2 +- scripts/archgamingsetup.sh | 1 - 6 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch-assets/archgamingpkg.txt b/arch-assets/archgamingpkg.txt index 1c3da3f..72fb525 100644 --- a/arch-assets/archgamingpkg.txt +++ b/arch-assets/archgamingpkg.txt @@ -1,3 +1,4 @@ nvidia-utils lib32-nvidia-utils ttf-liberation +steam diff --git a/arch-assets/archpkg.txt b/arch-assets/archpkg.txt index 1393319..4070598 100644 --- a/arch-assets/archpkg.txt +++ b/arch-assets/archpkg.txt @@ -1,7 +1,10 @@ base-devel +less xorg-apps nvidia-settings +arandr bash-completion +fastfetch kitty alacritty xclip @@ -12,7 +15,7 @@ bluez-utils blueman feh nitrogen -dolphin +thunar lf flameshot polybar diff --git a/arch-assets/yaypkg.txt b/arch-assets/yaypkg.txt index e4320e2..70c7f90 100644 --- a/arch-assets/yaypkg.txt +++ b/arch-assets/yaypkg.txt @@ -1,2 +1 @@ picom-simpleanims-git -betterlockscreen diff --git a/archsetup.sh b/archsetup.sh index aac64cc..21f63a0 100755 --- a/archsetup.sh +++ b/archsetup.sh @@ -96,9 +96,6 @@ systemctl enable --now sshd # Enable Bluetooth systemctl enable --now bluetooth -# Enable Wifi -systemctl enable --now iwd - # Setup Yay while true;do read -p "Do you want to install yay? (y/n) " answer @@ -107,9 +104,6 @@ while true;do mkdir $home_PATH/Software fi git clone https://aur.archlinux.org/yay.git $home_PATH/Software/yay && cd $home_PATH/Software/yay && makepkg -si --noconfirm --needed && cd - while IFS= read -r line ; do - yay -S --noconfirm --needed $line - done < $scripts_PATH/arch-assets/yaypkg.txt break elif [[ "${answer,,}" == "n" ]]; then break diff --git a/scripts/archgamedevsetup.sh b/scripts/archgamedevsetup.sh index ccac99f..409a609 100755 --- a/scripts/archgamedevsetup.sh +++ b/scripts/archgamedevsetup.sh @@ -1,7 +1,7 @@ #!/bin/bash while IFS= read -r line ; do - echo "sudo pacman -S --noconfirm --needed $line" + sudo pacman -S --noconfirm --needed $line done < $1 # Get Blender diff --git a/scripts/archgamingsetup.sh b/scripts/archgamingsetup.sh index 7556030..cbe684b 100644 --- a/scripts/archgamingsetup.sh +++ b/scripts/archgamingsetup.sh @@ -3,4 +3,3 @@ while IFS= read -r line ; do sudo pacman -S --noconfirm --needed $line done < $1 -sudo pacman -S --noconfirm --needed steam