RN - Menu
This commit is contained in:
@@ -98,13 +98,14 @@ echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
|||||||
cd ~/bspwm-install-ma-dte/
|
cd ~/bspwm-install-ma-dte/
|
||||||
|
|
||||||
# VM TEST KEY COPY Shall not be included in the published edition.
|
# VM TEST KEY COPY Shall not be included in the published edition.
|
||||||
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||||
echo " "
|
#echo " "
|
||||||
echo " TEST - VM KEY SET COPY DONE"
|
#echo " TEST - VM KEY SET COPY DONE"
|
||||||
echo " "
|
#echo " "
|
||||||
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||||
|
|
||||||
. copy-vm-keys.sh
|
#. copy-vm-keys.sh
|
||||||
|
. setup-menu.sh
|
||||||
|
|
||||||
# Clean up and delete folders and other installation files
|
# Clean up and delete folders and other installation files
|
||||||
#rm -r ~/bspwm-install-ma-dte/
|
#rm -r ~/bspwm-install-ma-dte/
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ bspc rule -a Screenkey manage=off
|
|||||||
|
|
||||||
# Automatically start up programs
|
# Automatically start up programs
|
||||||
picom &
|
picom &
|
||||||
feh --bg-fill ~/wallpapers/wallpaper.jpg &
|
feh --bg-fill ~/wallpapers/default-wallpaper.jpg &
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
pulseaudio --kill &
|
pulseaudio --kill &
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|||||||
27
setup-menu.sh
Normal file
27
setup-menu.sh
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
PS3='Choose menu 1, 2, 3, Reboot, Exit.:'
|
||||||
|
smenu=("1" "2" "3" "Reboot" "Exit")
|
||||||
|
select smenu in "${smenuc[@]}"; do
|
||||||
|
case $smenuc in
|
||||||
|
"1")
|
||||||
|
echo "Nr. 1"
|
||||||
|
# optionally call a function or run some code here
|
||||||
|
;;
|
||||||
|
"2")
|
||||||
|
echo "Nr. 2"
|
||||||
|
# optionally call a function or run some code here
|
||||||
|
;;
|
||||||
|
"3")
|
||||||
|
echo "VM Copy Keys..."
|
||||||
|
. copy-vm-keys.sh
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
"Reboot")
|
||||||
|
sudo reboot
|
||||||
|
;;
|
||||||
|
"Quit")
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
*) echo "Invalid option. $REPLY";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 141 KiB |
Reference in New Issue
Block a user