Updated script to what I use now.

This commit is contained in:
2026-04-07 18:48:19 -07:00
parent de695092c0
commit 26c7b549d7
+22 -4
View File
@@ -2,7 +2,7 @@
# Post install script for Fedora # Post install script for Fedora
# Author: Jacob Schantli # Author: Jacob Schantli
# Version: 0.90 # Version: 0.91
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Global Configuration # Global Configuration
@@ -26,6 +26,8 @@ DNF_PACKAGES=(
"git" "git"
"fzf" "fzf"
"syncthing" "syncthing"
"fuse"
"fuse-libs"
) )
FLATPAK_PACKAGES=( FLATPAK_PACKAGES=(
@@ -47,9 +49,8 @@ FLATPAK_PACKAGES=(
"io.github.swordpuffin.rewaita" "io.github.swordpuffin.rewaita"
"page.tesk.Refine" "page.tesk.Refine"
"io.gitlab.adhami3310.Converter" "io.gitlab.adhami3310.Converter"
"com.bitwarden.desktop" #"com.bitwarden.desktop" - Not used anymore as I switched to 1Password
"com.usebottles.bottles" "com.usebottles.bottles"
"com.ulaa.Ulaa"
"com.bambulab.BambuStudio" "com.bambulab.BambuStudio"
"com.collaboraoffice.Office" "com.collaboraoffice.Office"
"org.mozilla.Thunderbird" "org.mozilla.Thunderbird"
@@ -256,6 +257,19 @@ install_software() {
check_status "gemini-cli installation" "non-critical" check_status "gemini-cli installation" "non-critical"
} }
install_1password() {
log_info "----------------------------------------------------"
log_info "Installing 1Password"
log_info "----------------------------------------------------"
if rpm -q 1password > /dev/null 2>&1; then
log_info "1Password already installed."
else
log_info "Downloading and installing 1Password..."
sudo dnf install -y https://downloads.1password.com/linux/rpm/stable/x86_64/1password-latest.rpm
check_status "1Password installation" "non-critical"
fi
}
install_cachyos() { install_cachyos() {
log_info "----------------------------------------------------" log_info "----------------------------------------------------"
log_info "Installing CachyOS kernel" log_info "Installing CachyOS kernel"
@@ -433,6 +447,7 @@ show_menu() {
echo "8. Install LinuxToys" echo "8. Install LinuxToys"
echo "9. Install Shell Environment (Starship, MyBash)" echo "9. Install Shell Environment (Starship, MyBash)"
echo "10. Install GNOME Extensions" echo "10. Install GNOME Extensions"
echo "11. Install 1Password"
echo "0. Exit" echo "0. Exit"
echo "====================================================" echo "===================================================="
read -p "Enter your choice [0-10]: " choice read -p "Enter your choice [0-10]: " choice
@@ -457,6 +472,7 @@ while true; do
install_fonts install_fonts
install_repos install_repos
install_software install_software
install_1password
install_cachyos install_cachyos
install_linuxtoys install_linuxtoys
install_shell_env install_shell_env
@@ -469,6 +485,7 @@ while true; do
install_fonts install_fonts
install_repos install_repos
install_software install_software
install_1password
# install_cachyos (Skipped) # install_cachyos (Skipped)
install_linuxtoys install_linuxtoys
install_shell_env install_shell_env
@@ -484,6 +501,7 @@ while true; do
8) install_linuxtoys ;; 8) install_linuxtoys ;;
9) install_shell_env ;; 9) install_shell_env ;;
10) install_gnome_extensions ;; 10) install_gnome_extensions ;;
11) install_1password ;;
0) 0)
log_info "Exiting..." log_info "Exiting..."
exit 0 exit 0
@@ -502,4 +520,4 @@ done
log_info "----------------------------------------------------" log_info "----------------------------------------------------"
log_info "Post-install script completed successfully!" log_info "Post-install script completed successfully!"
log_info "Please restart your shell or run 'source ~/.bashrc' to see the changes." log_info "Please restart your shell or run 'source ~/.bashrc' to see the changes."
log_info "----------------------------------------------------" log_info "----------------------------------------------------"