Cleanup stow path
This commit is contained in:
15
stow.sh
15
stow.sh
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILES_DIR=$HOME/dots/files
|
||||
FILES_DIR=$PWD/files
|
||||
OPTS=$1
|
||||
|
||||
echo "You are about to stow all config files."
|
||||
echo "You are about to stow all config files and fonts."
|
||||
echo "Do you want to proceed? [y]"
|
||||
read proceed
|
||||
|
||||
@@ -12,9 +12,12 @@ if [ "${proceed}" != "y" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Switching to ${FILES_DIR}"
|
||||
echo "Stowing configs..."
|
||||
cd $FILES_DIR
|
||||
|
||||
echo "STOWING..."
|
||||
stow ${OPTS} -v --ignore="init.org" --target="$HOME" *
|
||||
echo "DONE!"
|
||||
echo "Done!"
|
||||
|
||||
echo "Stowing fonts..."
|
||||
cd ../
|
||||
stow ${OPTS} -v --target="$HOME/.local/share/fonts" fonts
|
||||
echo "Done!"
|
||||
|
||||
Reference in New Issue
Block a user