Hyprland-dotfiles/install.sh

65 lines
1.7 KiB
Bash
Raw Normal View History

2023-11-10 16:12:15 -05:00
#!/bin/bash
2023-11-17 07:48:02 -05:00
source .install/version.sh
source .install/colors.sh
2023-11-10 16:12:15 -05:00
clear
# Set installation mode
mode="live"
if [ ! -z $1 ]; then
mode="dev"
echo "IMPORTANT: DEV MODE ACTIVATED. "
echo "Existing dotfiles folder will not be modified."
echo "Symbolic links will not be created."
fi
2023-11-17 07:48:02 -05:00
echo -e "${GREEN}"
2023-11-10 16:12:15 -05:00
cat <<"EOF"
_ _ __ _ _
__| | ___ | |_ / _(_) | ___ ___
/ _` |/ _ \| __| |_| | |/ _ \/ __|
| (_| | (_) | |_| _| | | __/\__ \
\__,_|\___/ \__|_| |_|_|\___||___/
EOF
2023-11-17 07:48:02 -05:00
echo -e "${NONE}"
2023-11-10 16:12:15 -05:00
echo "Version: $version"
echo "by Stephan Raabe 2023"
echo ""
echo "This script will guide you through the installation process of my dotfiles."
echo ""
source .install/library.sh
2023-11-21 01:04:26 -05:00
source .install/required.sh
2023-11-10 16:12:15 -05:00
source .install/confirm-start.sh
source .install/backup.sh
source .install/preparation.sh
source .install/profile.sh
source .install/yay.sh
2023-11-21 15:19:51 -05:00
if [[ $profile == *"Hyprland"* ]]; then
source .install/hyprland.sh
2023-11-10 16:12:15 -05:00
source .install/hyprland-packages.sh
source .install/install-packages.sh
fi
2023-11-21 15:19:51 -05:00
if [[ $profile == *"Qtile"* ]]; then
source .install/qtile.sh
2023-11-10 16:12:15 -05:00
source .install/qtile-packages.sh
source .install/install-packages.sh
fi
source .install/pywal.sh
source .install/wallpaper.sh
source .install/disabledm.sh
source .install/issue.sh
source .install/restore.sh
source .install/keyboard.sh
2023-11-10 16:12:15 -05:00
source .install/copy.sh
source .install/config-folder.sh
source .install/init-pywal.sh
2023-11-21 15:19:51 -05:00
if [[ $profile == *"Hyprland"* ]]; then
2023-11-10 16:12:15 -05:00
source .install/hyprland-dotfiles.sh
fi
2023-11-21 15:19:51 -05:00
if [[ $profile == *"Qtile"* ]]; then
2023-11-10 16:12:15 -05:00
source .install/qtile-dotfiles.sh
fi
2023-11-12 08:16:53 -05:00
source .install/bashrc.sh
2023-11-24 07:58:59 -05:00
source .install/monitor.sh
2023-11-10 16:12:15 -05:00
source .install/done.sh