Hyprland-dotfiles/2-install-qtile.sh

65 lines
1.7 KiB
Bash
Raw Normal View History

2023-08-18 08:46:10 -04:00
#!/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"
2023-09-04 15:21:39 -04:00
packagesPacman=(
"qtile"
"polybar"
"picom"
"scrot"
"slock"
2023-09-04 15:21:39 -04:00
);
2023-08-18 08:46:10 -04:00
# ------------------------------------------------------
# Install required packages
# ------------------------------------------------------
_installPackagesPacman "${packagesPacman[@]}";
2023-10-17 09:13:19 -04:00
echo ""
2023-10-17 08:22:51 -04:00
echo "DONE!"
2023-10-17 09:13:19 -04:00
echo "Update the keyboard layout and screen resolution in ~/dotfiles/qtile/autostart.sh"
echo "Then proceed with 3-dotfiles.sh"