From 77fab4db44e1bfa6ca69c34f8924f22dbc5ccf7c Mon Sep 17 00:00:00 2001 From: randomuser Date: Mon, 10 May 2021 17:27:15 -0500 Subject: [PATCH] switch to makefile --- Makefile | 10 ++++++++++ install.sh | 11 ----------- 2 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 Makefile delete mode 100755 install.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1549b17 --- /dev/null +++ b/Makefile @@ -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) diff --git a/install.sh b/install.sh deleted file mode 100755 index 992b3de..0000000 --- a/install.sh +++ /dev/null @@ -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