2023-08-17 14:56:53 -04:00
|
|
|
#!/bin/bash
|
|
|
|
# _ _ _ _
|
|
|
|
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
|
|
|
|
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
|
|
|
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
|
|
|
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
|
|
|
# |___/|_|
|
|
|
|
#
|
|
|
|
# by Stephan Raabe (2023)
|
|
|
|
# -----------------------------------------------------
|
|
|
|
# Install Script for Hyprland
|
|
|
|
# ------------------------------------------------------
|
|
|
|
|
|
|
|
# ------------------------------------------------------
|
|
|
|
# Confirm Start
|
|
|
|
# ------------------------------------------------------
|
2023-08-17 16:26:37 -04:00
|
|
|
source $(dirname "$0")/scripts/library.sh
|
2023-08-17 14:56:53 -04:00
|
|
|
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
|
|
|
|
# ------------------------------------------------------
|
2023-08-17 16:26:37 -04:00
|
|
|
|
|
|
|
packagesPacman=("hyprland")
|
2023-08-17 14:56:53 -04:00
|
|
|
|
|
|
|
# ------------------------------------------------------
|
|
|
|
# Create symbolic links
|
|
|
|
# ------------------------------------------------------
|
|
|
|
echo "-> Create symbolic link for startx"
|
|
|
|
rm ~/.xinitrc
|
|
|
|
ln -s ~/dotfiles/qtile/.xinitrc ~/.xinitrc
|
|
|
|
|
|
|
|
echo "DONE!"
|