nyw seup menu + apt to sid
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Remember that this menu uses this apt package "dialog"
|
||||
|
||||
HEIGHT=15
|
||||
WIDTH=40
|
||||
CHOICE_HEIGHT=4
|
||||
@@ -12,7 +14,7 @@ OPTIONS=(1 "Install AMD Driver"
|
||||
3 "Install Intel Driver"
|
||||
4 "Install Intel + NVIDIA Driver"
|
||||
5 "Virtual Machine - Copy New SUPER KEY to ALT KEY"
|
||||
6 "Reboot")
|
||||
6 "Do nothing and Reboot")
|
||||
|
||||
CHOICE=$(dialog --clear \
|
||||
--backtitle "$BACKTITLE" \
|
||||
@@ -25,19 +27,19 @@ CHOICE=$(dialog --clear \
|
||||
clear
|
||||
case $CHOICE in
|
||||
1)
|
||||
sudo apt install -y amd64-microcode
|
||||
sudo apt install -y amd64-microcode && sudo reboot
|
||||
;;
|
||||
2)
|
||||
sudo apt install -y amd64-microcode nvidia-detect nvidia-driver
|
||||
sudo apt install -y amd64-microcode nvidia-detect nvidia-driver && sudo reboot
|
||||
;;
|
||||
3)
|
||||
sudo apt install -y intel-microcode
|
||||
sudo apt install -y intel-microcode && sudo reboot
|
||||
;;
|
||||
4)
|
||||
sudo apt install -y intel-microcode nvidia-detect nvidia-driver
|
||||
sudo apt install -y intel-microcode nvidia-detect nvidia-driver && sudo reboot
|
||||
;;
|
||||
5)
|
||||
. ~/bspwm-install-ma-dte/copy-vm-keys.sh
|
||||
. ~/bspwm-install-ma-dte/copy-vm-keys.sh && sudo reboot
|
||||
;;
|
||||
6)
|
||||
sudo reboot
|
||||
|
||||
Reference in New Issue
Block a user