Skip to content

Commit

Permalink
WIP: Separates gui app installs from the rest.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Brandt authored and Tobias Brandt committed Jun 10, 2024
1 parent 215c51f commit 223bd37
Show file tree
Hide file tree
Showing 28 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions install-headless.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Be fancy
source ~/.local/share/omakub/ascii.sh

# Ensure ~/Downloads exists
mkdir -p ~/Downloads

# Needed for all installers
sudo apt update -y
sudo apt install -y curl git jq unzip

# 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/cfg-*.sh; do source $script; done
for script in ~/.local/share/omakub/install/app*-*.sh; do source $script; done
for script in ~/.local/share/omakub/install/dev-*.sh; do source $script; done
for script in ~/.local/share/omakub/install/set-cfg-*.sh; do source $script; done
#for script in ~/.local/share/omakub/install/gui-*.sh; do source $script; done
#for script in ~/.local/share/omakub/install/set-gui-*.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?" && exit
#gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 223bd37

Please sign in to comment.