diff --git a/1-install.sh b/1-install.sh index 56ee216..ee1a5b9 100755 --- a/1-install.sh +++ b/1-install.sh @@ -127,63 +127,8 @@ clear # ------------------------------------------------------ echo "" echo "-> Install .bashrc" -while true; do - read -p "Do you want to replace the existing .bashrc file? (Yy/Nn): " yn - case $yn in - [Yy]* ) - rm ~/.bashrc - _installSymLink ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc - echo ".bashrc removed" - break;; - [Nn]* ) - echo "Replacement of .bashrc skipped." - break;; - * ) echo "Please answer yes or no.";; - esac -done -# ------------------------------------------------------ -# Install Theme, Icons and Cursor -# ------------------------------------------------------ -echo "" -echo "-> Install Theme" -while true; do - read -p "Do you want to replace the existing GTK2/GTK3 theme configuration? (Yy/Nn): " yn - case $yn in - [Yy]* ) - if [ -d ~/.config/gtk-3.0 ]; then - rm -r ~/.config/gtk-3.0 - echo "gtk-3.0 removed" - fi - - if [ -f ~/.gtkrc-2.0 ]; then - rm ~/.gtkrc-2.0 - echo ".gtkrc-2.0" - fi - - if [ -f ~/.Xresources ]; then - rm ~/.Xresources - echo ".Xresources removed" - fi - - if [ -d ~/.icons ]; then - rm -r ~/.icons - echo ".icons removed" - fi - - _installSymLink ~/.gtkrc-2.0 ~/dotfiles/.gtkrc-2.0 ~/.gtkrc-2.0 - _installSymLink ~/.config/gtk-3.0 ~/dotfiles/gtk-3.0/ ~/.config/ - _installSymLink ~/.Xresources ~/dotfiles/.Xresources ~/.Xresources - _installSymLink ~/.icons ~/dotfiles/.icons/ ~/ - - echo "Existing theme removed" - break;; - [Nn]* ) - echo "Replacement of theme skipped." - break;; - * ) echo "Please answer yes or no.";; - esac -done +_installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc # ------------------------------------------------------ # Install custom issue (login prompt) diff --git a/README.md b/README.md index 62fa527..4a6b01f 100644 --- a/README.md +++ b/README.md @@ -45,32 +45,23 @@ Included is a pywal configuration that changes the color scheme based on a rando To make it easy for you to get started with my dotfiles, here's a list of recommended next steps. ``` -# Create a folder for the Download -mkdir ml4w-dotfiles - -# cd into the new folder -cd ml4w-dotfiles - -# Clone the repository +# Clone the repository from your home directory git clone https://gitlab.com/stephan-raabe/dotfiles.git -# Copy the dotfiles into your home directory -cp -r dotfiles ~/ +# Change into the new dotfiles folder +cd dotfiles -# cd into your your copy -cd ~/dotfiles - -# Install or update all required packages and install dotfiles +# Install all required packages ./1-install.sh -# Install qtile window manager +# Install hyprland window manager ./2-install-hyprland.sh - -# OR/AND - -# Install qtile window manager +# OR/AND Install qtile window manager ./2-install-qtile.sh +# Install dotfiles +./3-install-dotfiles.sh + ```