#!/bin/bash

cd ~/bspwm-install-ma-dte

# Do, mkdir, copy, copy, echo files.
. ~/bspwm-install-ma-dte/install-scripts/mkdir-cp-chmod-echo-files.sh


# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."


# Add ROOT Level - Software & Packages.
. ~/bspwm-install-ma-dte/install-scripts/apt-install-all-packages.sh

# Add pulseaudio to system startup.
systemctl --user enable pulseaudio

# Alacritty - Building and installing ON / OFF
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo "     Alacritty - Building and installing"
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Alacritty - Building and installing ON / OFF

#. ~/bspwm-install-ma-dte/install-scripts/install-alacritty-debian.sh


# Last step setup menu installing.
. last-step-setup-menu.sh
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " "
echo "     Enter your user password, to continue if necessary"
echo " "
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"

# Clean up and delete folders and other installation files ON / OFF
#cd ~
#rm -r ~/bspwm-install-ma-dte/
sleep 1

read -p "You are ready to reboot... Press [Enter] key to Reboot System."
echo " "
sudo reboot
