2024-05-31 13:29:00 -05:00
|
|
|
source ~/.local/share/omakub/ascii.sh
|
2024-05-25 15:52:00 -05:00
|
|
|
|
2024-05-26 18:21:30 -05:00
|
|
|
# Needed for all installers
|
|
|
|
sudo apt update -y
|
2024-06-02 15:02:35 -05:00
|
|
|
sudo apt upgrade -y
|
2024-05-26 18:21:30 -05:00
|
|
|
sudo apt install -y curl git
|
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
|
|
|
|
gsettings set org.gnome.desktop.session idle-delay 0
|
|
|
|
|
2024-05-26 18:21:30 -05:00
|
|
|
# Run installers
|
2024-05-26 21:54:30 -05:00
|
|
|
for script in ~/.local/share/omakub/install/*.sh; do source $script; done
|
2024-05-26 17:51:46 -05:00
|
|
|
|
2024-05-31 13:13:38 -05:00
|
|
|
# Revert to normal idle settings
|
2024-05-31 13:11:40 -05:00
|
|
|
gsettings set org.gnome.desktop.session idle-delay 300
|
|
|
|
|
2024-05-26 18:21:30 -05:00
|
|
|
# Reboot to pickup changes
|
2024-05-26 21:13:22 -05:00
|
|
|
read -p "Ready to reboot the system for all settings to take effect? [Y/n]: " response
|
|
|
|
if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then
|
2024-05-26 17:51:46 -05:00
|
|
|
sudo reboot
|
|
|
|
fi
|