-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (32 loc) · 1.04 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
# https://dericpang.com/blog/managing-your-dotfiles-with-git-and-make
dots := bash git nvim tmux fish i3 picom polybar kitty alacritty vscode firefox
pwd := $(shell pwd -LP)
.PHONY: $(dots)
all: $(dots)
bash:
@ln -nfs "${pwd}/.bashrc" ~/.bashrc
git:
@ln -nfs "${pwd}/.gitconfig" ~/.gitconfig
nvim:
@ln -nfs "${pwd}/nvim" ~/.config
tmux:
@ln -nfs "${pwd}/tmux" ~/.config
fish:
@ln -nfs "${pwd}/fish" ~/.config
i3:
@ln -nfs "${pwd}/i3" ~/.config
picom:
@ln -nfs "${pwd}/picom" ~/.config
polybar:
@ln -nfs "${pwd}/polybar" ~/.config
kitty:
@ln -nfs "${pwd}/kitty" ~/.config
alacritty:
@ln -nfs "${pwd}/alacritty" ~/.config
vscode:
@ln -nfs "$(pwd)/vscode/settings.json" ~/.config/VSCodium/User/settings.json
@ln -nfs "$(pwd)/vscode/keybindings.json" ~/.config/VSCodium/User/keybindings.json
@ln -nfs "$(pwd)/vscode/settings.json" ~/.config/Code/User/settings.json
@ln -nfs "$(pwd)/vscode/keybindings.json" ~/.config/Code/User/keybindings.json
firefox:
@ln -nfs "${pwd}/firefox/chrome" ~/.mozilla/firefox/*-release/