sunhat/install.sh
2024-06-06 00:03:28 +00:00

22 lines
628 B
Bash

# Be fancy
source ~/.local/share/omakub/ascii.sh
# Needed for all installers
sudo apt update -y
sudo apt install -y curl git jq
# Ensure computer doesn't go to sleep while installing
gsettings set org.gnome.desktop.session idle-delay 0
# Run installers
for script in ~/.local/share/omakub/install/*.sh; do source $script; done
# 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
# Reboot to pickup changes
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt