-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
107 lines (87 loc) · 1.67 KB
/
Makefile
File metadata and controls
107 lines (87 loc) · 1.67 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
all: alacritty \
autorandr \
bash \
foot \
git \
vim \
i3 \
lftp \
mutt \
mpv \
npm \
picom \
pylint \
rofi \
waybar \
sway \
tmux \
kanshi \
monitors
.PHONY: alacritty
alacritty:
rm -rf ~/.config/alacritty
ln -s "${CURDIR}/alacritty" ~/.config/alacritty
.PHONY: autorandr
autorandr:
rm -rf ~/.config/autorandr
ln -s "${CURDIR}/autorandr" ~/.config/autorandr
bash:
for i in bash_profile bashrc; do \
ln -sf "${CURDIR}/$$i" ~/."$$i"; \
done
.PHONY: foot
foot:
rm -rf ~/.config/foot
ln -s "${CURDIR}/foot" ~/.config/foot
git:
rm -rf ~/.gitconfig
ln -s "${CURDIR}/gitconfig" ~/.gitconfig
vim:
rm -rf ~/.vim
for i in gvimrc vimrc vim; do \
ln -sf "${CURDIR}/$$i" ~/."$$i"; \
done
.PHONY: i3
i3:
for i in i3 i3status; do \
rm -rf ~/.config/"$$i"; \
ln -s "${CURDIR}/$$i" ~/.config/"$$i"; \
done
lftp:
ln -sf "${CURDIR}/lftprc" ~/.lftprc
.PHONY: mutt
mutt:
rm -rf ~/.config/mutt
ln -s "${CURDIR}/mutt" ~/.config/mutt
.PHONY: mpv
mpv:
rm -rf ~/.config/mpv
ln -s "${CURDIR}/mpv" ~/.config/mpv
npm:
ln -sf "${CURDIR}/npmrc" ~/.npmrc
picom:
ln -sf "${CURDIR}/picom.conf" ~/.config/picom.conf
pylint:
ln -sf "${CURDIR}/pylintrc" ~/.config/pylintrc
.PHONY: rofi
rofi:
rm -rf ~/.config/rofi
ln -s "${CURDIR}/rofi" ~/.config/rofi
.PHONY: waybar
waybar:
rm -rf ~/.config/waybar
ln -s "${CURDIR}/waybar" ~/.config/waybar
.PHONY: sway
sway:
rm -rf ~/.config/sway
ln -s "${CURDIR}/sway" ~/.config/sway
tmux:
ln -sf "${CURDIR}/tmux.conf" ~/.tmux.conf
.PHONY: kanshi
kanshi:
rm -rf ~/.config/kanshi
ln -s "${CURDIR}/kanshi" ~/.config/kanshi
monitors:
ln -sf "${CURDIR}/monitors.xml" ~/.config/monitors.xml
uninstall:
find ~ -lname "${CURDIR}/*" -delete