Better organized code
This commit is contained in:
parent
a751f18f66
commit
f4d4dba4b3
2 changed files with 24 additions and 18 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue