From 3cfcacac925af20b3d27eff1122c174846e456fd Mon Sep 17 00:00:00 2001 From: beech Date: Wed, 19 Feb 2025 18:41:08 -0600 Subject: [PATCH] New software --- install1.sh | 1 + software.sh | 58 ++++++++++++++++++++++++++++++---- softwarenew.sh | 86 -------------------------------------------------- 3 files changed, 52 insertions(+), 93 deletions(-) delete mode 100644 softwarenew.sh diff --git a/install1.sh b/install1.sh index 60dc6ac..19751c7 100644 --- a/install1.sh +++ b/install1.sh @@ -66,6 +66,7 @@ pacman -Sy pacman -S archlinux-keyring --noconfirm pacman -S pacman-contrib terminus-font --noconfirm --needed sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf +echo "" > /etc/pacman.d/mirrorlist pacman -S reflector --noconfirm --needed reflector -a 48 -c "US" -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist diff --git a/software.sh b/software.sh index bc1d813..958db7e 100644 --- a/software.sh +++ b/software.sh @@ -1,5 +1,17 @@ #!/usr/bin/env bash echo +echo "Setting up Yay for AUR packages..." +echo +echo "Please enter username:" +read username +cd "${HOME}" +git clone "https://aur.archlinux.org/yay.git" +cd ${HOME}/yay +makepkg -si +echo +echo "Yay setup complete." +echo +echo echo "INSTALLING SOFTWARE" echo @@ -27,10 +39,11 @@ PKGS=( 'gwenview' # Image Viewer 'lutris' # Gaming 'wine' # Gaming - 'spotify' # Music + 'steam' # Gaming 'obs-studio' # Screen Recording 'remmina' # RDP 'discord' # Messaging + 'xpdf' # PDF viewer 'thunar' # File Manager 'thunar-archive-plugin' 'ark' @@ -39,7 +52,6 @@ PKGS=( # DEVELOPMENT --------------------------------------------------------- 'gedit' # Text editor - 'code' # Visual Studio Code 'git' # Version control system 'nodejs' # Javascript runtime environment 'npm' # Node package manager @@ -48,10 +60,6 @@ PKGS=( 'gimp' # Photo Editor 'kdenlive' # Video Editor - # PRODUCTIVITY -------------------------------------------------------- - - 'xpdf' # PDF viewer - ) for PKG in "${PKGS[@]}"; do @@ -59,6 +67,42 @@ for PKG in "${PKGS[@]}"; do sudo pacman -S "$PKG" --noconfirm --needed done +AUR_PKGS=( + 'floorp-bin' # Floorp browser + 'brave-bin' # Brave browser + 'downgrade' # Downgrade packages + 'spotify-edge' # Spotify + 'proton-ge-custom-bin' # Proton GE + +) + +for AUR_PKG in "${AUR_PKGS[@]}"; do + echo "INSTALLING: ${AUR_PKG}" + yay -S "$AUR_PKG" --noconfirm --needed +done + +# Flatpak Apps + +if ! flatpak remote-list | grep -q "flathub"; then + flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + echo "Flathub added successfully." +else + echo "Flathub is already enabled." +fi +echo +echo "Installing Flatpak Applications..." echo -echo "Done!" + +FLATPAK_APPS=( + 'org.prismlauncher.PrismLauncher' # Prism Launcher (Minecraft) + +) + +for FLATPAK_APP in "${FLATPAK_APPS[@]}"; do + echo "INSTALLING: ${FLATPAK_APP}" + flatpak install flathub "$FLATPAK_APP" -y +done + echo +echo "All software installed!" +echo \ No newline at end of file diff --git a/softwarenew.sh b/softwarenew.sh deleted file mode 100644 index 25c0b92..0000000 --- a/softwarenew.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env bash -echo -echo "Setting up Yay for AUR packages..." -echo -echo "Please enter username:" -read username -cd "${HOME}" -git clone "https://aur.archlinux.org/yay.git" -cd ${HOME}/yay -makepkg -si -echo -echo "Yay setup complete." -echo -echo -echo "INSTALLING SOFTWARE" -echo - -PKGS=( - - # TERMINAL UTILITIES -------------------------------------------------- - - 'curl' # Remote content retrieval - 'gufw' # Firewall manager - 'neofetch' # Shows system info when you launch terminal - 'numlockx' # Turns on numlock in X11 - 'p7zip' # 7z compression program - 'unrar' # RAR compression program - 'unzip' # Zip compression program - 'wget' # Remote content retrieval - 'vim' # Terminal Editor - 'zenity' # Display graphical dialog boxes via shell scripts - 'zip' # Zip compression program - 'nano' # Simpler Terminal Editor - 'kitty' # Terminal Emulator - - # GENERAL UTILITIES --------------------------------------------------- - - 'mpv' # Video Player - 'gwenview' # Image Viewer - 'lutris' # Gaming - 'wine' # Gaming - 'steam' # Gaming - 'obs-studio' # Screen Recording - 'remmina' # RDP - 'discord' # Messaging - 'xpdf' # PDF viewer - 'thunar' # File Manager - 'thunar-archive-plugin' - 'ark' - 'tumbler' - - # DEVELOPMENT --------------------------------------------------------- - - 'gedit' # Text editor - 'git' # Version control system - 'nodejs' # Javascript runtime environment - 'npm' # Node package manager - 'python' # Scripting language - 'yarn' # Dependency management (Hyper needs this) - 'gimp' # Photo Editor - 'kdenlive' # Video Editor - -) - -for PKG in "${PKGS[@]}"; do - echo "INSTALLING: ${PKG}" - sudo pacman -S "$PKG" --noconfirm --needed -done - -AUR_PKGS=( - 'floorp-bin' # Floorp browser - 'brave-bin' # Brave browser - 'downgrade' # Downgrade packages - 'spotify-edge' # Spotify - 'proton-ge-custom-bin' # Proton GE - -) - -for AUR_PKG in "${AUR_PKGS[@]}"; do - echo "INSTALLING: ${AUR_PKG}" - yay -S "$AUR_PKG" --noconfirm --needed -done - -echo -echo "All software installed!" -echo