mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
fixed missing dirs
This commit is contained in:
parent
bf3005ed13
commit
198d662c4e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue