aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 28 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index d8e0e51..0595784 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,43 @@
1WM-THEME-DIR = .local/share/themes/numix-no-title 1NUMIX-NO-TITLE = .local/share/themes/numix-no-title
2BASHRC = .bashrc 2BASHRC = .bashrc
3VIMRC = .vimrc
4HERBSTLUFT = .config/herbstluftwm
3 5
4install: all 6install: all
5 7
6all: wm-theme bash 8all: bash vim numix-no-title herbstluft
7 9
8wm-theme: 10numix-no-title:
9 #create wm theme dir if not exist 11 #create wm theme dir if not exist
10 mkdir -p ~/$(WM-THEME-DIR) 12 mkdir -p ~/$(NUMIX-NO-TILE)
11 13
12 #remove content if existing 14 #remove content if existing
13 -rm -rf ~/$(WM-THEME-DIR)/* 15 -rm -rf ~/$(NUMIX-NO-TILE)/*
14 16
15 #copy contents in 17 #copy new contents in
16 cp -rf $(WM-THEME-DIR)/* ~/$(WM-THEME-DIR)/ 18 cp -rf $(NUMIX-NO-TILE)/* ~/$(NUMIX-NO-TITLE)/
19
20herbstluftwm:
21 #create herbstluftwm if not exist
22 mkdir -p ~/$(HERBSTLUFT)
23
24 #remove content if existing
25 -rm -rf ~/$(HERBSTLUFT)/*
26
27 #copy new contents in
28 cp -rf $(HERBSTLUFT)/* ~/$(HERBSTLUFT)/
17 29
18bash: 30bash:
19 #copy to home 31 #copy bashrc to home
20 cp -f $(BASHRC) ~/$(BASHRC) 32 cp -f $(BASHRC) ~
33
34vim:
35 #copy vimrc to home
36 cp -f $(VIMRC) ~
21 37
22uninstall: 38uninstall:
23 #remove all 39 #remove all
24 -rm -rf ~/$(WM-THEME-DIR) 40 -rm -rf ~/$(WM-THEME-DIR)
25 -rm -f ~/$(BASHRC) \ No newline at end of file 41 -rm -rf ~/$(HERBSTLUFT)
42 -rm -f ~/$(BASHRC)
43 -rm -f ~/$(VIMRC)