dotfiles: get rid of faulty automatic cloning
This commit is contained in:
parent
bdd95bdf8e
commit
c6c4c50446
@ -1,24 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
alias cp="$(which cp)"
|
||||
SRC="$HOME"
|
||||
DEST="$(pwd)"
|
||||
[ "$(printf "Abort.\nContinue.\n" | dmenu -p "Copying from '$SRC' to '$DEST'. Continue?")" = "Continue." ] || exit
|
||||
set -x
|
||||
|
||||
for dir in $(cat manifest_dir); do
|
||||
if ! [ -d "$SRC/$dir" ]; then
|
||||
printf "Directory missing from SRC: %b\n" "$dir"
|
||||
false
|
||||
else
|
||||
mkdir -p "$DEST/$dir"
|
||||
fi
|
||||
done
|
||||
|
||||
for file in $(cat manifest_file); do
|
||||
if ! [ -e "$SRC/$file" ]; then
|
||||
printf "File missing from SRC: %b\n" "$file"
|
||||
false
|
||||
else
|
||||
cp "$SRC/$file" "$DEST/$file"
|
||||
fi
|
||||
done
|
@ -1,13 +0,0 @@
|
||||
.config/
|
||||
.config/bspwm/
|
||||
.config/displaym/
|
||||
.config/displaym/bspwm
|
||||
.config/displaym/ctwm
|
||||
.config/displaym/i3wm
|
||||
.config/i3/
|
||||
.config/i3status/
|
||||
.config/sxhkd/
|
||||
.config/sxhkd/
|
||||
.config/sxhkd/
|
||||
bin/
|
||||
src/dmenu/
|
@ -1,24 +0,0 @@
|
||||
.Xresources
|
||||
.aliases
|
||||
.ctwmrc
|
||||
.env
|
||||
.profile
|
||||
.vimrc
|
||||
.config/bspwm/bspwmrc
|
||||
.config/displaym/.xinitrc
|
||||
.config/displaym/sxhkdrc
|
||||
.config/displaym/bspwm/.xinitrc
|
||||
.config/displaym/bspwm/start.sh
|
||||
.config/displaym/bspwm/sxhkdrc
|
||||
.config/displaym/ctwm/.xinitrc
|
||||
.config/displaym/ctwm/start.sh
|
||||
.config/displaym/i3wm/.xinitrc
|
||||
.config/displaym/i3wm/sxhkdrc
|
||||
.config/i3/config
|
||||
.config/i3status/config
|
||||
bin/batterymonitor
|
||||
bin/data
|
||||
bin/displaym
|
||||
bin/mnt
|
||||
bin/volume
|
||||
src/dmenu/config.h
|
Loading…
Reference in New Issue
Block a user