From 198d662c4ec2b68cd2e43ea29a2b45f919ffc0c6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 9 Oct 2021 22:35:24 +0100 Subject: fixed missing dirs --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1