(feat): Added/Remove apps, cleaned up script
This commit is contained in:
		
							parent
							
								
									5659361bab
								
							
						
					
					
						commit
						e3b38c2d02
					
				
					 1 changed files with 15 additions and 65 deletions
				
			
		| 
						 | 
					@ -4,12 +4,6 @@
 | 
				
			||||||
# Relies on Flatpak to be installed
 | 
					# Relies on Flatpak to be installed
 | 
				
			||||||
# Created by Blake Ridgway
 | 
					# Created by Blake Ridgway
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#!/bin/bash
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# A script for setting up post install
 | 
					 | 
				
			||||||
# Relies on Flatpak to be installed
 | 
					 | 
				
			||||||
# Created by Blake Ridgway
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Function to detect the Linux distribution
 | 
					# Function to detect the Linux distribution
 | 
				
			||||||
detect_linux_distro() {
 | 
					detect_linux_distro() {
 | 
				
			||||||
    if [ -f /etc/os-release ]; then
 | 
					    if [ -f /etc/os-release ]; then
 | 
				
			||||||
| 
						 | 
					@ -55,26 +49,29 @@ fi
 | 
				
			||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
 | 
					flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PACKAGE_LIST=(
 | 
					PACKAGE_LIST=(
 | 
				
			||||||
    bpytop
 | 
					    btop
 | 
				
			||||||
    curl
 | 
					    curl
 | 
				
			||||||
    git
 | 
					    git
 | 
				
			||||||
    golang
 | 
					    gh
 | 
				
			||||||
    fd-find
 | 
					    fd-find
 | 
				
			||||||
    flatpak
 | 
					    flatpak
 | 
				
			||||||
    libfontconfig-dev
 | 
					    libfontconfig-dev
 | 
				
			||||||
    libssl-dev
 | 
					    libssl-dev
 | 
				
			||||||
    micro
 | 
					 | 
				
			||||||
    neofetch
 | 
					    neofetch
 | 
				
			||||||
    python3
 | 
					    python3
 | 
				
			||||||
    python3-pip
 | 
					    python3-pip
 | 
				
			||||||
    ripgrep
 | 
					    ripgrep
 | 
				
			||||||
    steam
 | 
					 | 
				
			||||||
    virt-manager
 | 
					    virt-manager
 | 
				
			||||||
 | 
					    zsh
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FLATPAK_LIST=(
 | 
					FLATPAK_LIST=(
 | 
				
			||||||
    com.bitwarden.desktop
 | 
					    com.bitwarden.desktop
 | 
				
			||||||
 | 
					    com.github.tchx84.Flatseal
 | 
				
			||||||
 | 
					    com.valvesoftware.Steam
 | 
				
			||||||
    net.davidotek.pupgui2
 | 
					    net.davidotek.pupgui2
 | 
				
			||||||
 | 
					    net.veloren.airshipper
 | 
				
			||||||
 | 
					    org.videolan.VLC
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo #######################
 | 
					echo #######################
 | 
				
			||||||
| 
						 | 
					@ -111,12 +108,6 @@ for flatpak_name in ${FLATPAK_LIST[@]}; do
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo #######
 | 
					 | 
				
			||||||
echo # SSH #
 | 
					 | 
				
			||||||
echo #######
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# ssh-keygen -t ed25519 -C ${USER}@$(hostname --fqdn)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo ##########
 | 
					echo ##########
 | 
				
			||||||
echo # pynvim #
 | 
					echo # pynvim #
 | 
				
			||||||
echo ##########
 | 
					echo ##########
 | 
				
			||||||
| 
						 | 
					@ -132,31 +123,20 @@ mkdir -p ~/.local/share/fonts && cp Hack/HackNerdFont-Regular.ttf ~/.local/share
 | 
				
			||||||
fc-cache -f -v
 | 
					fc-cache -f -v
 | 
				
			||||||
rm -rf Hack*
 | 
					rm -rf Hack*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo ######################
 | 
				
			||||||
 | 
					echo # Installing OhMyZSH #
 | 
				
			||||||
 | 
					echo ######################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo ###################
 | 
					echo ###################
 | 
				
			||||||
echo # Install Rust Up #
 | 
					echo # Install Rust Up #
 | 
				
			||||||
echo ###################
 | 
					echo ###################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
 | 
					curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo #####################
 | 
					 | 
				
			||||||
echo # Enable Cargo/Rust #
 | 
					 | 
				
			||||||
echo #####################
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
. "$HOME/.cargo/env"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo ######################
 | 
					 | 
				
			||||||
echo # Install Cargo Apps #
 | 
					 | 
				
			||||||
echo ######################
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#CARGO_LIST=(
 | 
					 | 
				
			||||||
#	nu
 | 
					 | 
				
			||||||
#	alacritty
 | 
					 | 
				
			||||||
#)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#for cargo_name in ${CARGO_LIST[@]}; do
 | 
					 | 
				
			||||||
#		cargo install "$cargo_name"
 | 
					 | 
				
			||||||
#done
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo ##################
 | 
					echo ##################
 | 
				
			||||||
echo # Setup Starship #
 | 
					echo # Setup Starship #
 | 
				
			||||||
echo ##################
 | 
					echo ##################
 | 
				
			||||||
| 
						 | 
					@ -175,18 +155,6 @@ echo ###################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cp -r terminal/nushell/ ~/.config/
 | 
					cp -r terminal/nushell/ ~/.config/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo ######################
 | 
					 | 
				
			||||||
echo # Fix Steam Download #
 | 
					 | 
				
			||||||
echo ######################
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#cp steam/steam_dev.cfg ~/.steam/steam/steam_dev.cfg
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo #######################
 | 
					 | 
				
			||||||
echo # Cleanup and Updates #
 | 
					 | 
				
			||||||
echo #######################
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
sudo dnf upgrade
 | 
					 | 
				
			||||||
flatpak update
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Symlink files
 | 
					# Symlink files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -216,22 +184,4 @@ done
 | 
				
			||||||
#        exit 1
 | 
					#        exit 1
 | 
				
			||||||
#fi
 | 
					#fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#echo ######################
 | 
					 | 
				
			||||||
#echo # Installing OhMyZSH #
 | 
					 | 
				
			||||||
#echo ######################
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	#cargo
 | 
					 | 
				
			||||||
	#kitty
 | 
					 | 
				
			||||||
	#neovim
 | 
					 | 
				
			||||||
	#plasma-discover-backend-flatpak
 | 
					 | 
				
			||||||
	#ruby
 | 
					 | 
				
			||||||
	#solaar
 | 
					 | 
				
			||||||
	#tilix
 | 
					 | 
				
			||||||
	#zsh
 | 
					 | 
				
			||||||
	#net.veloren.airshipper
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	# Verify flatpak is engaged properly
 | 
					 | 
				
			||||||
	#flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue