blob: e233395e1cfe9c15f0dcc3235ef0bfccbe0e11a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
NUMIX = .local/share/themes/numix-no-title
BASHRC = .bashrc
VIMRC = .vimrc
HERBSTLUFT = .config/herbstluftwm
install: all
all: bash vim numix-no-title herbstluftwm
numix-no-title:
#create wm theme dir if not exist
mkdir -p ~/$(NUMIX)
#remove content if existing
-rm -rf ~/$(NUMIX)/*
#copy new contents in
cp -rf $(NUMIX)/* ~/$(NUMIX)/
herbstluftwm:
#create herbstluftwm if not exist
mkdir -p ~/$(HERBSTLUFT)
#remove content if existing
-rm -rf ~/$(HERBSTLUFT)/*
#copy new contents in
cp -rf $(HERBSTLUFT)/* ~/$(HERBSTLUFT)/
bash:
#copy bashrc to home
cp -f $(BASHRC) ~
vim:
#copy vimrc to home
cp -f $(VIMRC) ~
uninstall:
#remove all
-rm -rf ~/$(WM-THEME-DIR)
-rm -rf ~/$(HERBSTLUFT)
-rm -f ~/$(BASHRC)
-rm -f ~/$(VIMRC)
|