forked from andreatta/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
66 lines (50 loc) · 1.53 KB
/
Makefile
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
# makefile for setting up my config files
.PHONY: \
dunst gtk locale ranger zathura issue packer x vconsole zsh vim qutebroser compton youtube-dl
dunst:
@mkdir -p ${HOME}/.config/dunst
@ln -s ${PWD}/dunst/dunstrc ${HOME}/.config/dunst/dunstrc
gtk:
@ln -s ${PWD}/gtk/gtk-3.0 ${HOME}/.config/
locale:
@sudo ln -sf ${PWD}/etc/locale.conf /etc
vconsole:
@sudo ln -sf ${PWD}/etc/vconsole.conf /etc
issue:
@sudo ln -sf ${PWD}/etc/issue /etc
packer:
sudo pacman -S wget fakeroot jshon expac
cd /tmp
wget https://aur.archlinux.org/packages/pa/packer/PKGBUILD
makepkg
pacman -U packer-*.pkg.tar.xz packer
ranger:
@mkdir -p ${HOME}/.config/ranger
@$(foreach file,${PWD}/ranger/*,ln -s $(file) ${HOME}/.config/ranger;)
zsh:
# use oh-my-zsh from git repo
@ln -s ${PWD}/zsh/.zshrc ${HOME}
@ln -s ${PWD}/zsh/.zprofile ${HOME}
#@ln -s ${PWD}/zsh/aliases.zsh /usr/share/oh-my-zsh/custom
@ln -s ${PWD}/zsh/aliases.zsh ~/src/oh-my-zsh/custom
x:
@ln -sf ${PWD}/X/.Xmodmap ${HOME}
@ln -sf ${PWD}/X/.Xresources ${HOME}
@ln -sf ${PWD}/X/.xinitrc ${HOME}
@ln -sf ${PWD}/X/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d
vim:
@cp ${PWD}/vim/.vim ${HOME}
@mkdir -p ${HOME}/.vim/undo
zathura:
@ln -s ${PWD}/zathura ${HOME}/.config
qutebrowser:
ln -s ${PWD}/qutebroser ~/.config
compton:
ln -s ${PWD}/compton/compton.conf ~/.config
youtube-dl:
ln -s ${PWD}/youtube-dl/youtube-dl.conf ~/.config
.PHONY: all etc
etc:
issue locale vconsole
all:
dunst gtk locale ranger zathura issue packer x vconsole zsh vim qutebroswer compton youtube-dl