summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-09 22:35:24 +0100
committerdavidovski <david@davidovski.xyz>2021-10-09 22:35:24 +0100
commit198d662c4ec2b68cd2e43ea29a2b45f919ffc0c6 (patch)
tree018d7e25bc20362a4a74e265151bcdfba98972e7
parentbf3005ed13af40d8839a9e48b176b3ceb0288b26 (diff)
fixed missing dirs
-rwxr-xr-xdeploy.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 983c4e6..f1101ec 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -4,6 +4,8 @@ configurations=( iocane bg bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar
save () {
+ mkdir config
+ mkdir scripts
for i in "${configurations[@]}"; do
cp -r "$HOME/.config/$i" config/
done
@@ -29,7 +31,7 @@ load () {
read confirmation
if [[ $confirmation == "confirm" ]]; then
- cp -r config/* $HOME/.config/
+ cp -r config $HOME/.config
cp -r scripts $HOME/.scripts
cp bashrc $HOME/.bashrc