improve stuff

This commit is contained in:
Seymur Bagirov 2023-12-26 18:35:54 +04:00
parent da15c9c081
commit c3d6a2f91c
2 changed files with 21 additions and 2 deletions

View File

@ -21,6 +21,25 @@ else
exit 1 exit 1
fi fi
echo "This will move your current dotfiles to .bckp and create a symlink to the dotfiles in this directory"
shopt -s nocasematch
status=true
while $status; do
echo -n "Do you want to install the dotfiles? (y/n) "
read -r answer
if [[ "$answer" == "y" ]]; then
echo "Installing dotfiles"
status=false
elif [[ "$answer" == "n" ]]; then
echo "Aborting"
exit 1
else
echo "Please answer with y or n"
fi
done
movePathAndLink nvim movePathAndLink nvim
movePathAndLink hypr movePathAndLink hypr
movePathAndLink waybar movePathAndLink waybar
@ -29,5 +48,5 @@ movePathAndLink kitty
moveShell moveShell
echo "Done"

View File

@ -47,7 +47,7 @@ test -s ~/.alias && . ~/.alias || true
alias vim="nvim" alias vim="nvim"
export NEOCONFPATH="$HOME/Documents/init.lua" export DOTFILE = "$HOME/Documents/dotfiles"
alias overwatch='lutris lutris:rungame/overwatch-2' alias overwatch='lutris lutris:rungame/overwatch-2'
alias nuget='mono ~/nuget.exe' alias nuget='mono ~/nuget.exe'