2023-11-10 21:12:15 +00:00
|
|
|
#!/bin/bash
|
|
|
|
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
|
|
|
|
|
|
|
|
cat <<"EOF"
|
|
|
|
_ _ __ _ _
|
|
|
|
__| | ___ | |_ / _(_) | ___ ___
|
|
|
|
/ _` |/ _ \| __| |_| | |/ _ \/ __|
|
|
|
|
| (_| | (_) | |_| _| | | __/\__ \
|
|
|
|
\__,_|\___/ \__|_| |_|_|\___||___/
|
|
|
|
|
|
|
|
EOF
|
|
|
|
version="2.5"
|
|
|
|
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
|
|
|
|
source .install/confirm-start.sh
|
|
|
|
source .install/backup.sh
|
|
|
|
source .install/preparation.sh
|
|
|
|
source .install/profile.sh
|
|
|
|
if [ $profile == "Hyprland" ]; then
|
|
|
|
source .install/hyprland.sh
|
|
|
|
fi
|
|
|
|
if [ $profile == "Qtile" ]; then
|
|
|
|
source .install/qtile.sh
|
|
|
|
fi
|
|
|
|
source .install/yay.sh
|
|
|
|
if [ $profile == "Hyprland" ]; then
|
|
|
|
source .install/hyprland-packages.sh
|
|
|
|
source .install/install-packages.sh
|
|
|
|
fi
|
|
|
|
if [ $profile == "Qtile" ]; then
|
|
|
|
source .install/qtile-packages.sh
|
|
|
|
source .install/install-packages.sh
|
|
|
|
fi
|
|
|
|
if [ $profile == "All" ]; then
|
|
|
|
source .install/hyprland-packages.sh
|
|
|
|
source .install/install-packages.sh
|
|
|
|
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/setup.sh
|
|
|
|
source .install/copy.sh
|
|
|
|
source .install/config-folder.sh
|
|
|
|
source .install/init-pywal.sh
|
|
|
|
if [ $profile == "Hyprland" ]; then
|
|
|
|
source .install/hyprland-dotfiles.sh
|
|
|
|
fi
|
|
|
|
if [ $profile == "Qtile" ]; then
|
|
|
|
source .install/qtile-dotfiles.sh
|
|
|
|
fi
|
|
|
|
if [ $profile == "All" ]; then
|
|
|
|
source .install/hyprland-dotfiles.sh
|
|
|
|
source .install/qtile-dotfiles.sh
|
|
|
|
fi
|
2023-11-12 13:16:53 +00:00
|
|
|
source .install/bashrc.sh
|
2023-11-10 21:12:15 +00:00
|
|
|
echo "IMPORTANT: Please check the keyboard layout and screen resolution after the rebbot of your system."
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
source .install/done.sh
|