Hyprland-dotfiles/2-qtile.sh

54 lines
1.5 KiB
Bash
Raw Normal View History

2023-02-17 11:11:48 -05:00
#!/bin/bash
2023-02-26 10:29:26 -05:00
# ___ _____ ___ _ _____
# / _ \_ _|_ _| | | ____|
# | | | || | | || | | _|
# | |_| || | | || |___| |___
# \__\_\|_| |___|_____|_____|
#
# by Stephan Raabe (2023)
2023-02-17 11:11:48 -05:00
# ------------------------------------------------------
# Install Script for Qtile
# ------------------------------------------------------
2023-04-12 06:27:35 -04:00
# ------------------------------------------------------
# Confirm Start
# ------------------------------------------------------
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 ""
2023-02-17 11:11:48 -05:00
# ------------------------------------------------------
# Install required packages
# ------------------------------------------------------
2023-04-13 10:41:22 -04:00
sudo --noconfirm pacman -S qtile
2023-02-17 11:11:48 -05:00
# ------------------------------------------------------
# Create symbolic links
# ------------------------------------------------------
2023-04-12 06:27:35 -04:00
echo "-> Create symbolic link for startx"
2023-02-17 11:11:48 -05:00
rm ~/.xinitrc
2023-02-18 10:33:27 -05:00
ln -s ~/dotfiles/qtile/.xinitrc ~/.xinitrc
2023-02-17 11:11:48 -05:00
echo "DONE!"