This repository was archived by the owner on Dec 8, 2018. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
285 lines (250 loc) · 5.82 KB
/
Copy pathMakefile
File metadata and controls
285 lines (250 loc) · 5.82 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
VIM_SETUP_GIT = "git@framagit.org:gagbo/vim-setup.git"
EMACS_SETUP_GIT = "git@framagit.org:gagbo/emacs-setup.git"
all: editors \
plasma \
lxqt \
i3blocks \
i3status \
i3 \
sway \
rofi \
redshift \
kvantum \
openbox \
tint2 \
polybar \
kitty \
ctags \
zsh \
bash \
Xresources \
weechat \
tern \
tmux \
IdeaVim \
urxvt \
latte \
conky \
hack-fonts \
weather-icons \
git \
mpd \
ncmpcpp \
scripts
editors: vim emacs
# Clone the repository
# If this fails, the repo is probably already there : so just pull it
# If this works, then update the minpac submodule and stow so vim/nvim
# is ready for the PackUpdate
vim:
@mkdir -p nvim/.config
@echo "********** Vim/Neovim setup **********"
@echo "Cloning the repo..."
@git submodule init nvim/.config/nvim &&\
git submodule update nvim/.config/nvim --recursive &&\
stow -S nvim -t ${HOME} ||\
@echo "Now you need to run \"nvim -c PackUpdate\" and the vim version \
of this to get all the plugins"
@echo ""
# Clone the repository
# If this fails, the repo is probably already there : so just pull it
# If this works, stow the project
emacs:
@mkdir -p emacs
@echo "************* Emacs setup *************"
@git submodule init emacs/.emacs.d &&\
git submodule update emacs/.emacs.d &&\
stow -S emacs -t ${HOME}
@echo "You probably want to start emacs so that updates can go through"
@echo ""
plasma:
@echo "************ plasma setup ************"
mkdir -p ${HOME}/.local/share/icons/hicolor
@git submodule init plasma &&\
git submodule update plasma --recursive
stow -S plasma -t ${HOME}
@echo ""
lxqt: openbox
@echo "************* lxqt setup *************"
mkdir -p ${HOME}/.config
stow -S lxqt -t ${HOME}
@echo ""
i3blocks:
@echo "*********** i3blocks setup ***********"
mkdir -p ${HOME}/.config
stow -S i3blocks -t ${HOME}
@echo ""
i3status:
@echo "*********** i3status setup ***********"
mkdir -p ${HOME}/.config
stow -S i3status -t ${HOME}
@echo ""
i3: i3blocks i3status polybar rofi
@echo "************** i3 setup **************"
mkdir -p ${HOME}/.config
stow -S i3 -t ${HOME}
@echo ""
sway: i3status rofi
@echo "************* sway setup *************"
mkdir -p ${HOME}/.config
stow -S sway -t ${HOME}
@echo ""
rofi:
@echo "************* rofi setup *************"
mkdir -p ${HOME}/.config
stow -S rofi -t ${HOME}
@echo ""
redshift:
@echo "*********** redshift setup ***********"
mkdir -p ${HOME}/.config
stow -S redshift -t ${HOME}
@echo ""
kvantum:
@echo "************ kvantum setup ************"
mkdir -p ${HOME}/.config
@git submodule init kvantum &&\
git submodule update kvantum --recursive
stow -S kvantum -t ${HOME}
@echo ""
openbox: tint2
@echo "************ openbox setup ************"
mkdir -p ${HOME}/.config
stow -S openbox -t ${HOME}
@echo ""
tint2:
@echo "************ tint2 setup ************"
mkdir -p ${HOME}/.config
stow -S tint2 -t ${HOME}
@echo ""
polybar: tint2
@echo "************ polybar setup ************"
mkdir -p ${HOME}/.config
stow -S polybar -t ${HOME}
@echo ""
kitty:
@echo "************* Kitty setup *************"
mkdir -p ${HOME}/.config
stow -S kitty -t ${HOME}
@echo ""
zsh:
@echo "************** Zsh setup **************"
curl -sL git.io/antibody | sh -s
stow -S zsh -t ${HOME}
antibody bundle < ~/.zsh/plugins.txt > ~/.zsh_plugins.sh
@echo ""
bash:
@echo "************** Bash setup *************"
stow -S bash -t ${HOME}
@echo ""
ctags:
@echo "************** Ctags setup *************"
stow -S ctags -t ${HOME}
@echo ""
Xresources:
@echo "********** Xresources setup **********"
mkdir -p ${HOME}/.config
stow -S Xresources -t ${HOME}
@echo ""
weechat:
@echo "*********** weechat setup ***********"
mkdir -p ${HOME}
stow -S weechat -t ${HOME}
@echo ""
tern:
@echo "************ Tern.js setup ************"
mkdir -p ${HOME}/.config
stow -S tern -t ${HOME}
@echo ""
tmux:
@echo "************** Tmux setup *************"
mkdir -p ${HOME}/.config
stow -S tmux -t ${HOME}
@echo ""
IdeaVim:
@echo "************ IdeaVim setup ************"
mkdir -p ${HOME}/.config
stow -S IdeaVim -t ${HOME}
@echo ""
urxvt:
@echo "************ urxvt setup ************"
mkdir -p ${HOME}/.config
stow -S urxvt -t ${HOME}
@echo ""
latte:
@echo "************ latte setup ************"
mkdir -p ${HOME}/.config
stow -S latte-dock -t ${HOME}
@echo ""
conky:
@echo "************ conky setup ************"
mkdir -p ${HOME}/.config
stow -S conky -t ${HOME}
@echo ""
hack-fonts:
@echo "********* Hack fonts setup **********"
mkdir -p ${HOME}/.local/share/fonts/ttf
stow --no-folding -S hack-fonts -t ${HOME}
@echo "Rebuild font-cache"
fc-cache -f -v
stow -R hack-fonts -t ${HOME}
@echo ""
weather-icons:
@echo "******** Weather icons setup *********"
mkdir -p ${HOME}/.local/share/fonts/ttf
stow --no-folding -S weather-icons -t ${HOME}
@echo "Rebuild font-cache"
fc-cache -f -v
stow -R weather-icons -t ${HOME}
@echo ""
git:
@echo "************* git setup **************"
mkdir -p ${HOME}/.config
stow -S git -t ${HOME}
@
mpd:
@echo "************* mpd setup **************"
mkdir -p ${HOME}/.config
stow -S mpd -t ${HOME}
@
ncmpcpp:
@echo "*********** ncmpcpp setup ************"
mkdir -p ${HOME}/.config
stow -S ncmpcpp -t ${HOME}
@
scripts:
@echo "*********** scripts setup ************"
mkdir -p ${HOME}/.local
stow -S scripts -t ${HOME}
@echo ""
.PHONY: editors \
plasma \
lxqt \
i3blocks \
i3status \
i3 \
sway \
rofi \
redshift \
kvantum \
openbox \
tint2 \
polybar \
kitty \
ctags \
zsh \
Xresources \
weechat \
tern \
vim \
emacs \
tmux \
IdeaVim \
urxvt \
latte \
conky \
hack-fonts \
weather-icons \
git \
mpd \
ncmpcpp \
scripts