This commit is contained in:
Stephan Raabe 2023-09-05 15:53:45 +02:00
commit 36739b72b4
2 changed files with 10 additions and 74 deletions

View File

@ -127,63 +127,8 @@ clear
# ------------------------------------------------------ # ------------------------------------------------------
echo "" echo ""
echo "-> Install .bashrc" 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
# ------------------------------------------------------ _installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
# 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
# ------------------------------------------------------ # ------------------------------------------------------
# Install custom issue (login prompt) # Install custom issue (login prompt)

View File

@ -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. 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 # Clone the repository from your home directory
mkdir ml4w-dotfiles
# cd into the new folder
cd ml4w-dotfiles
# Clone the repository
git clone https://gitlab.com/stephan-raabe/dotfiles.git git clone https://gitlab.com/stephan-raabe/dotfiles.git
# Copy the dotfiles into your home directory # Change into the new dotfiles folder
cp -r dotfiles ~/ cd dotfiles
# cd into your your copy # Install all required packages
cd ~/dotfiles
# Install or update all required packages and install dotfiles
./1-install.sh ./1-install.sh
# Install qtile window manager # Install hyprland window manager
./2-install-hyprland.sh ./2-install-hyprland.sh
# OR/AND Install qtile window manager
# OR/AND
# Install qtile window manager
./2-install-qtile.sh ./2-install-qtile.sh
# Install dotfiles
./3-install-dotfiles.sh
``` ```