65 lines
1.8 KiB
Bash
Executable File
65 lines
1.8 KiB
Bash
Executable File
#!/bin/bash
|
|
# ___ _____ ___ _ _____
|
|
# / _ \_ _|_ _| | | ____|
|
|
# | | | || | | || | | _|
|
|
# | |_| || | | || |___| |___
|
|
# \__\_\|_| |___|_____|_____|
|
|
#
|
|
# by Stephan Raabe (2023)
|
|
# ------------------------------------------------------
|
|
# Install Script for Qtile
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# Confirm Start
|
|
# ------------------------------------------------------
|
|
source $(dirname "$0")/scripts/library.sh
|
|
clear
|
|
echo " ___ _____ ___ _ _____ "
|
|
echo " / _ \_ _|_ _| | | ____| "
|
|
echo "| | | || | | || | | _| "
|
|
echo "| |_| || | | || |___| |___ "
|
|
echo " \__\_\|_| |___|_____|_____| "
|
|
echo " "
|
|
echo "by Stephan Raabe (2023)"
|
|
echo "------------------------------------------------------"
|
|
echo ""
|
|
|
|
while true; do
|
|
read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn
|
|
case $yn in
|
|
[Yy]* )
|
|
echo "Installation started."
|
|
break;;
|
|
[Nn]* )
|
|
exit;
|
|
break;;
|
|
* ) echo "Please answer yes or no.";;
|
|
esac
|
|
done
|
|
echo ""
|
|
|
|
# ------------------------------------------------------
|
|
# Install required packages
|
|
# ------------------------------------------------------
|
|
echo ""
|
|
echo "-> Install main packages"
|
|
|
|
packagesPacman=(
|
|
"qtile"
|
|
"polybar"
|
|
"picom"
|
|
"scrot"
|
|
"slock"
|
|
);
|
|
|
|
# ------------------------------------------------------
|
|
# Install required packages
|
|
# ------------------------------------------------------
|
|
_installPackagesPacman "${packagesPacman[@]}";
|
|
|
|
echo ""
|
|
echo "DONE!"
|
|
echo "NEXT: Update the keyboard layout and screen resolution in ~/dotfiles/qtile/autostart.sh"
|
|
echo "Then proceed with 3-dotfiles.sh"
|