This commit is contained in:
Your Name 2024-02-17 15:44:25 -07:00
parent 0e48d4a8e2
commit 71b9acb50b

View File

@ -475,6 +475,8 @@ tweaks() {
echo "[5] Upgrade OS and take Snapshot"
echo "[6] Initialize Disk"
echo "[7] Remove old Snapshots"
echo "[8] Install Steam"
echo "[9] Configure Hibernation"
echo
read -p 'Your Choice: ' choice
if [[ $choice = 1 ]]; then
@ -510,6 +512,10 @@ tweaks() {
menu
elif [[ $choice = 7 ]]; then
remove-snapshots
elif [[ $choice = 8 ]]; then
installSteam
elif [[ $choice = 9 ]]; then
hibernation
else
tweaks
fi
@ -700,30 +706,18 @@ if [ "$1" = "desktop" ]; then
desktop
elif [ "$1" = "tar" ]; then
create-os-snapshots "$3" "$2"
elif [ "$1" = "upgrade-system" ]; then
upgrade-system
elif [ "$1" = "wifi" ]; then
wifi
elif [ "$1" = "accounts" ]; then
accounts
elif [ "$1" = "hibernate" ]; then
hibernate
elif [ "$1" = "bootloader" ]; then
bootloader "$2" "$3" "$4"
elif [ "$1" = "snapshot" ]; then
snapshots
elif [ "$1" = "steam" ]; then
installSteam
elif [ "$1" = "install-packages" ]; then
installPackages
elif [ "$1" = "cockpit" ]; then
installCockpit
elif [ "$1" = "btrfs-tweaks" ]; then
btrfs-tweaks
elif [ "$1" = "compile-kernel" ]; then
compile-kernel
elif [ "$1" = "remove-snapshot" ]; then
remove-snapshots
elif [ "$1" = "help" ]; then
show-help
else