RN - Menu

This commit is contained in:
ITmail-dk
2022-01-03 12:02:17 +01:00
parent d9ff51596a
commit 3a9e47c8d2
4 changed files with 35 additions and 7 deletions

View File

@@ -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/

View File

@@ -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
View 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

View File

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB