From 1aeb550ec75621e5d0a8b140d3081ce481f3f1f4 Mon Sep 17 00:00:00 2001 From: Kendall Whitman Date: Thu, 23 Apr 2026 09:20:40 -0500 Subject: [PATCH] remove bash install files --- install-arch.sh | 61 ---------------- install-folders.sh | 27 ------- install-nvim.sh | 7 -- install.sh | 173 --------------------------------------------- 4 files changed, 268 deletions(-) delete mode 100644 install-arch.sh delete mode 100644 install-folders.sh delete mode 100644 install-nvim.sh delete mode 100644 install.sh diff --git a/install-arch.sh b/install-arch.sh deleted file mode 100644 index f106eaa..0000000 --- a/install-arch.sh +++ /dev/null @@ -1,61 +0,0 @@ -APPS=( - brave-bin - element-desktop - libreoffice-fresh - neovim-git - proton-mail-bin - proton-vpn-gtk-app - rtorrent - steam - stow - tmux - wl-clipboard -) - -# Sym Link Home Folders To External Storage -while true; do - read -p "Do you want to link home folders with external storage? y/N: " storageChoice - storageChoice=$(echo "$storageChoice" | tr '[:upper:]' '[:lower:]') - - sudo rm -rf ~/Public ~/Templates - - if [ "$storageChoice" = "y" ]; then - read -p "Specify the path to the external storage device (full path must be used): " storagePath - - sudo rm -rf ~/Documents ~/Pictures ~/Downloads ~/Videos ~/Music - - ln -s "$storagePath/Pictures/" ~/ - ln -s "$storagePath/Repos/" ~/ - ln -s "$storagePath/Documents/" ~/ - ln -s "$storagePath/Downloads/" ~/ - ln -s "$storagePath/Videos/" ~/ - ln -s "$storagePath/Music/" ~/ - - break - elif [ "$storageChoice" = "n" ]; then - echo "Skipping sym linking..." - cp -r ./Repos ~ - break - else - echo "Invalid input. Please enter y or n." - fi -done - -# Install Apt Apps -for i in "${APPS[@]}" -do - if [ -x "$(command -v $i)" ]; then - echo "$i already installed!" - else - sudo pacman -S $i - fi -done - -sudo rm -rf ~/.config/fish/ ~/.config/alacritty - -# Link Config Files -for folder in ${DOTFILES[@]} -do - echo $folder - stow $folder --adopt -done diff --git a/install-folders.sh b/install-folders.sh deleted file mode 100644 index a5ba042..0000000 --- a/install-folders.sh +++ /dev/null @@ -1,27 +0,0 @@ -while true; do - read -p "Do you want to link home folders with external storage? y/N: " storageChoice - storageChoice=$(echo "$storageChoice" | tr '[:upper:]' '[:lower:]') - - sudo rm -rf ~/Public ~/Templates - - if [ "$storageChoice" = "y" ]; then - read -p "Specify the path to the external storage device (full path must be used): " storagePath - - sudo rm -rf ~/Documents ~/Pictures ~/Downloads ~/Videos ~/Music - - ln -s "$storagePath/Pictures/" ~/ - ln -s "$storagePath/Repos/" ~/ - ln -s "$storagePath/Documents/" ~/ - ln -s "$storagePath/Downloads/" ~/ - ln -s "$storagePath/Videos/" ~/ - ln -s "$storagePath/Music/" ~/ - - break - elif [ "$storageChoice" = "n" ]; then - echo "Skipping sym linking..." - cp -r ./Repos ~ - break - else - echo "Invalid input. Please enter y or n." - fi -done diff --git a/install-nvim.sh b/install-nvim.sh deleted file mode 100644 index cc8ed13..0000000 --- a/install-nvim.sh +++ /dev/null @@ -1,7 +0,0 @@ -sudo apt remove gettext-base -y -sudo apt install gettext -y -source ~/.bashrc -git clone https://github.com/neovim/neovim -cd neovim -make CMAKE_BUILD_TYPE=RelWithDebInfo && cd build && cpack -G DEB && sudo dpkg -i nvim-linux-x86_64.deb -cd ~/.dotfiles/ && sudo rm -rf neovim diff --git a/install.sh b/install.sh deleted file mode 100644 index 2d237cb..0000000 --- a/install.sh +++ /dev/null @@ -1,173 +0,0 @@ -APPS=( - cmake - curl - flatpak - g++ - btop - fastfetch - ninja-build - plasma-discover-backend-flatpak - ripgrep - rtorrent - scdaemon - steam - stow - tmux - tmuxp - virt-manager - wl-clipboard -) - - -FLATPAK_APPS=( - com.protonvpn.www - im.riot.Riot - org.darktable.Darktable - org.freecad.FreeCAD - org.gimp.GIMP - org.inkscape.Inkscape - org.libreoffice.LibreOffice - com.brave.Browser -) - - -DOTFILES=( - bash - konsole - menus - nvim - rtorrent - tmux - tmuxp -) - - -# Check if Snap is installed -if [ -x "$(command -v snap)" ]; then - echo "Remove Snap packages first before running this script!" - exit 1 -fi - - -# Sym Link Home Folders To External Storage -while true; do - read -p "Do you want to link home folders with external storage? y/N: " storageChoice - storageChoice=$(echo "$storageChoice" | tr '[:upper:]' '[:lower:]') - - sudo rm -rf ~/Public ~/Templates - - if [ "$storageChoice" = "y" ]; then - read -p "Specify the path to the external storage device (full path must be used): " storagePath - - sudo rm -rf ~/Documents ~/Pictures ~/Downloads ~/Videos ~/Music - - ln -s "$storagePath/Pictures/" ~/ - ln -s "$storagePath/Repos/" ~/ - ln -s "$storagePath/Documents/" ~/ - ln -s "$storagePath/Downloads/" ~/ - ln -s "$storagePath/Videos/" ~/ - ln -s "$storagePath/Music/" ~/ - - break - elif [ "$storageChoice" = "n" ]; then - echo "Skipping sym linking..." - cp -r ./Repos ~ - break - else - echo "Invalid input. Please enter y or n." - fi -done - - -# Install Apt Apps -for i in "${APPS[@]}" -do - if [ -x "$(command -v $i)" ]; then - echo "$i already installed!" - else - sudo apt install $i -y - fi -done - - -# Add Flathub Repo -flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - - -# Install Flatpak Apps -for i in "${FLATPAK_APPS[@]}" -do - if [ -x "$(command -v $i)" ]; then - echo "$i already installed!" - else - flatpak install $i -y - fi -done - - -# NVM Setup -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash - -source ~/.bashrc -. ~/.nvm/nvm.sh -nvm install --lts - - -# Add Yubikey Support to bashrc -if grep -q '# Yubikey SSH Support' ~/.bashrc; then - echo "Yubikey support already added." -else - -echo " -# Yubikey SSH Support -export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) -" >> ~/.bashrc - -fi - - -# Remove default menu config files -sudo rm -rf ~/.config/menus ~/.config/plasma-org.kde.plasma.desktop-appletsrc - - -# Link Config Files -for folder in ${DOTFILES[@]} -do - echo $folder - stow $folder --adopt -done - -git restore . - - -# Font Install -sudo cp ./fonts/FiraCodeNerdFontMono-Medium.ttf /usr/local/share/fonts - - -# Check if this is my profile -while true; do - read -p "Is this profile for Kendall? y/N: " profileChoice - profileChoice=$(echo "$profileChoice" | tr '[:upper:]' '[:lower:]') - - if [ "$profileChoice" = "y" ]; then - # Add User To Group For Virtual Manager - sudo adduser kendall libvirt-qemu - break - elif [ "$profileChoice" = "n" ]; then - break - else - echo "Invalid input. Please enter y or n." - fi -done - - -# Install latest Neovim -if ! [ -x "$(command -v nvim)" ]; then - sudo apt remove gettext-base -y - sudo apt install gettext -y - source ~/.bashrc - git clone https://github.com/neovim/neovim - cd neovim - make CMAKE_BUILD_TYPE=RelWithDebInfo && cd build && cpack -G DEB && sudo dpkg -i nvim-linux-x86_64.deb - cd ~/.dotfiles/ && sudo rm -rf neovim -fi