new setup

This commit is contained in:
ITmail-dk
2022-01-03 12:43:16 +01:00
parent cd3323a66a
commit e8555fe0b9
2 changed files with 17 additions and 11 deletions

View File

@@ -105,7 +105,7 @@ cd ~/bspwm-install-ma-dte/
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-" #echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#. copy-vm-keys.sh #. copy-vm-keys.sh
. setup-menu.sh . ~/bspwm-install-ma-dte/setup-menu.sh
# Clean up and delete folders and other installation files # Clean up and delete folders and other installation files
#cd ~ #cd ~

View File

@@ -1,25 +1,31 @@
#!/bin/bash #!/bin/bash
PS3='Choose menu 1, 2, 3, Reboot, Exit.:' PS3='Choose a menu option :'
smenu=("1" "2" "3" "Reboot" "Exit") smenu=("Install AMD Driver" "Install AMD Driver + NVIDIA" "Install Intel Driver" "Install Intel + NVIDIA Driver" "VM - Copy New SUPER KEY to ALT" "Reboot" "Exit")
select smenu in "${smenuc[@]}"; do select smenuc in "${smenu[@]}"; do
case $smenuc in case $smenuc in
"1") "1")
echo "Nr. 1" sudo apt install -y amd64-microcode
# optionally call a function or run some code here # optionally call a function or run some code here
;; ;;
"2") "2")
echo "Nr. 2" sudo apt install -y amd64-microcode nvidia-detect nvidia-driver
# optionally call a function or run some code here # optionally call a function or run some code here
;; ;;
"3") "3")
echo "VM Copy Keys..." sudo apt install -y intel-microcode
. copy-vm-keys.sh # optionally call a function or run some code here
break
;; ;;
"Reboot") "4")
sudo apt install -y intel-microcode nvidia-detect nvidia-driver
# optionally call a function or run some code here
;;
"5")
. ~/bspwm-install-ma-dte/copy-vm-keys.sh
;;
"6")
sudo reboot sudo reboot
;; ;;
"Quit") "7")
exit exit
;; ;;
*) echo "Invalid option. $REPLY";; *) echo "Invalid option. $REPLY";;