Now works with Fedora

This commit is contained in:
2024-06-09 04:16:43 -05:00
parent e37dd1be84
commit 314e5c9b8b
662 changed files with 128036 additions and 1568 deletions

View File

@ -1,21 +1,30 @@
# Be fancy
source ~/.local/share/omakub/ascii.sh
source ~/.local/share/sunhat/bin/ascii.sh
# Needed for all installers
sudo apt update -y
sudo apt install -y curl git jq
sudo dnf update -y
sudo dnf install -y curl git jq
# Ensure computer doesn't go to sleep while installing
gsettings set org.gnome.desktop.session idle-delay 0
# Run Scripts Required for Application Installs
for script in ~/.local/share/sunhat/sources/*.sh; do source $script; done
# Run installers
for script in ~/.local/share/omakub/install/*.sh; do source $script; done
for script in ~/.local/share/sunhat/install/*.sh; do source $script; done
# Change GNOME settings
for script in ~/.local/share/sunhat/settings/*.sh; do source $script; done
# Install GPU Drivers
source ~/.local/share/sunhat/GPU/install.sh
# Revert to normal idle settings
gsettings set org.gnome.desktop.session idle-delay 300
# Upgrade everything that might ask for a reboot last
sudo apt upgrade -y
sudo dnf update -y --refresh
# Reboot to pickup changes
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt