Better organized code

This commit is contained in:
Maddox Werts 2025-04-11 09:42:52 -04:00
parent a751f18f66
commit f4d4dba4b3
2 changed files with 24 additions and 18 deletions

View file

@ -116,24 +116,30 @@ install_flat() {
$FLH_INSTALL https://sober.vinegarhq.org/sober.flatpakref $FLH_INSTALL https://sober.vinegarhq.org/sober.flatpakref
} }
# Bloat Removal # Entry Point
if [ "$DESKTOP_SESSION" == "gnome" ]; then main() {
## Desktop Specific Operations ##
if [ "$DESKTOP_SESSION" == "gnome" ]; then
gnome gnome
fi fi
# Installing Software # Installing Software
install_yay install_yay
install_pacman install_pacman
install_aur install_aur
install_flat install_flat
# Enabling Daemons # # Enabling Daemons #
sudo systemctl enable --now libvirtd sudo systemctl enable --now libvirtd
sudo systemctl enable --now docker sudo systemctl enable --now docker
# Cleaning Up # # Applying Permissions #
sudo usermod -aG docker $USER sudo usermod -aG docker $USER
sudo usermod -aG libvirt $USER sudo usermod -aG libvirt $USER
# Finish Statement # # Finish Statement #
echo "Installation Done! Have Fun!" echo "Installation Done! Have Fun!"
}
# System Process
main

View file

@ -8,5 +8,5 @@ To use it, you can run any of the following:
### Arch Linux ### Arch Linux
```bash ```bash
curl path/to/arch.sh | sh curl http://server.lan:3003/OBJNULL/LinuxScripts/raw/branch/main/Installation/arch.sh | sh
``` ```