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