2024-06-03 17:43:58 -05:00
|
|
|
# Be fancy
|
2024-06-09 04:16:43 -05:00
|
|
|
source ~/.local/share/sunhat/bin/ascii.sh
|
2024-05-25 15:52:00 -05:00
|
|
|
|
2024-05-26 18:21:30 -05:00
|
|
|
# Needed for all installers
|
2024-06-09 04:16:43 -05:00
|
|
|
sudo dnf update -y
|
2024-06-09 17:45:46 -05:00
|
|
|
sudo dnf install -y curl git unzip
|
2024-05-25 15:52:00 -05:00
|
|
|
|
2024-05-31 13:11:40 -05:00
|
|
|
# Ensure computer doesn't go to sleep while installing
|
2024-06-09 17:45:46 -05:00
|
|
|
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
2024-05-31 13:11:40 -05:00
|
|
|
gsettings set org.gnome.desktop.session idle-delay 0
|
|
|
|
|
2024-06-09 04:16:43 -05:00
|
|
|
# Run Scripts Required for Application Installs
|
|
|
|
for script in ~/.local/share/sunhat/sources/*.sh; do source $script; done
|
|
|
|
|
2024-05-26 18:21:30 -05:00
|
|
|
# Run installers
|
2024-06-09 04:16:43 -05:00
|
|
|
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
|
2024-05-26 17:51:46 -05:00
|
|
|
|
2024-05-31 13:13:38 -05:00
|
|
|
# Revert to normal idle settings
|
2024-06-09 17:45:46 -05:00
|
|
|
gsettings set org.gnome.desktop.screensaver lock-enabled true
|
2024-05-31 13:11:40 -05:00
|
|
|
gsettings set org.gnome.desktop.session idle-delay 300
|
|
|
|
|
2024-06-03 21:16:56 -05:00
|
|
|
# Upgrade everything that might ask for a reboot last
|
2024-06-09 04:16:43 -05:00
|
|
|
sudo dnf update -y --refresh
|
2024-06-03 21:16:56 -05:00
|
|
|
|
2024-06-09 17:45:46 -05:00
|
|
|
# Logout to pickup changes
|
2024-06-03 17:43:23 -05:00
|
|
|
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
|