2023-11-10 16:12:15 -05:00
|
|
|
#!/bin/bash
|
2024-01-05 03:34:18 -05:00
|
|
|
version=$(cat .version/name)
|
2024-02-19 12:14:24 -05:00
|
|
|
source .install/includes/colors.sh
|
|
|
|
source .install/includes/library.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"
|
2023-12-21 15:57:44 -05:00
|
|
|
__ __ _ _ ___ __ _ _ __ _ _
|
|
|
|
| \/ | | | || \ \ / / __| | ___ | |_ / _(_) | ___ ___
|
|
|
|
| |\/| | | | || |\ \ /\ / / / _` |/ _ \| __| |_| | |/ _ \/ __|
|
|
|
|
| | | | |__|__ _\ V V / | (_| | (_) | |_| _| | | __/\__ \
|
|
|
|
|_| |_|_____| |_| \_/\_/ \__,_|\___/ \__|_| |_|_|\___||___/
|
|
|
|
|
2023-11-10 16:12:15 -05:00
|
|
|
EOF
|
2023-11-17 07:48:02 -05:00
|
|
|
echo -e "${NONE}"
|
|
|
|
|
2023-11-10 16:12:15 -05:00
|
|
|
echo "Version: $version"
|
2024-01-07 10:14:26 -05:00
|
|
|
echo "by Stephan Raabe 2024"
|
2023-11-10 16:12:15 -05:00
|
|
|
echo ""
|
2023-12-25 08:45:11 -05:00
|
|
|
if [ -d ~/dotfiles ] ;then
|
|
|
|
echo "A ML4W dotfiles installation has been detected."
|
|
|
|
echo "This script will guide you through the update process of the ML4W dotfiles."
|
|
|
|
else
|
|
|
|
echo "This script will guide you through the installation process of the ML4W dotfiles."
|
|
|
|
fi
|
2023-11-10 16:12:15 -05:00
|
|
|
echo ""
|
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
|
2023-12-29 06:11:44 -05:00
|
|
|
source .install/yay.sh
|
2024-03-19 11:58:35 -04:00
|
|
|
source .install/updatesystem.sh
|
2023-11-10 16:12:15 -05:00
|
|
|
source .install/backup.sh
|
|
|
|
source .install/preparation.sh
|
2023-12-25 08:45:11 -05:00
|
|
|
source .install/installer.sh
|
2024-02-27 08:54:19 -05:00
|
|
|
source .install/remove.sh
|
2024-02-27 09:25:41 -05:00
|
|
|
source .install/general.sh
|
2024-02-19 12:14:24 -05:00
|
|
|
source .install/packages/general-packages.sh
|
2023-12-27 17:19:24 -05:00
|
|
|
source .install/install-packages.sh
|
2024-02-19 12:14:24 -05:00
|
|
|
source .install/profile.sh
|
2023-11-21 15:19:51 -05:00
|
|
|
if [[ $profile == *"Hyprland"* ]]; then
|
2024-02-19 12:14:24 -05:00
|
|
|
echo -e "${GREEN}"
|
|
|
|
figlet "Hyprland"
|
|
|
|
echo -e "${NONE}"
|
|
|
|
source .install/packages/hyprland-packages.sh
|
2023-11-10 16:12:15 -05:00
|
|
|
source .install/install-packages.sh
|
|
|
|
fi
|
2023-11-21 15:19:51 -05:00
|
|
|
if [[ $profile == *"Qtile"* ]]; then
|
2024-02-19 12:14:24 -05:00
|
|
|
echo -e "${GREEN}"
|
|
|
|
figlet "Qtile"
|
|
|
|
echo -e "${NONE}"
|
|
|
|
source .install/packages/qtile-packages.sh
|
2023-11-10 16:12:15 -05:00
|
|
|
source .install/install-packages.sh
|
|
|
|
fi
|
|
|
|
source .install/wallpaper.sh
|
2023-12-20 03:27:11 -05:00
|
|
|
source .install/displaymanager.sh
|
2023-11-10 16:12:15 -05:00
|
|
|
source .install/issue.sh
|
|
|
|
source .install/restore.sh
|
2023-11-20 11:47:51 -05:00
|
|
|
source .install/keyboard.sh
|
2024-03-20 05:10:25 -04:00
|
|
|
source .install/neovim.sh
|
2024-02-19 12:14:24 -05:00
|
|
|
source .install/vm.sh
|
2023-12-07 15:32:32 -05:00
|
|
|
source .install/hook.sh
|
2023-11-10 16:12:15 -05:00
|
|
|
source .install/copy.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
|
2024-03-07 09:51:34 -05:00
|
|
|
source .install/settings.sh
|
2024-02-29 11:16:36 -05:00
|
|
|
source .install/apps.sh
|
2024-01-22 07:51:18 -05:00
|
|
|
source .install/gtk.sh
|
2023-11-12 08:16:53 -05:00
|
|
|
source .install/bashrc.sh
|
2023-12-25 09:02:36 -05:00
|
|
|
source .install/cleanup.sh
|
2024-03-20 05:10:25 -04:00
|
|
|
source .install/reboot.sh
|
2024-03-01 03:23:51 -05:00
|
|
|
sleep 3
|