switch to makefile

This commit is contained in:
randomuser 2021-05-10 17:27:15 -05:00
parent 1e8c705afe
commit 77fab4db44
2 changed files with 10 additions and 11 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
LOCATION="$(HOME)/.config"
install:
mkdir -p $(LOCATION)
cp -r bspwm $(LOCATION)
cp -r nvim $(LOCATION)
cp -r sx $(LOCATION)
cp -r sxhkd $(LOCATION)
cp -r vimb $(LOCATION)
cp -r zathura $(LOCATION)
cp -r wyebadblock $(LOCATION)

View File

@ -1,11 +0,0 @@
#!/bin/sh
set -x
# check that $XDG_CONFIG_HOME has been assigned
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
for i in bspwm nvim sx sxhkd vimb zathura; do
# copy everthing to the config directory
cp -r "$i" $XDG_CONFIG_HOME
done