-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (20 loc) · 913 Bytes
/
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
# This Makefile is used to create symlinks to the dotfiles in this repository.
.PHONY: git tmux zsh fastfetch ghostty all
DOTFILE_PATH := $(shell pwd)
$(HOME)/%: %
ln -sf $(DOTFILE_PATH)/$< $@
git: $(HOME)/.gitconfig $(HOME)/.gitignore
tmux: $(HOME)/.tmux.conf
zsh: $(HOME)/.zshrc
fastfetch:
mkdir $(HOME)/.config/fastfetch
ln -sf $(DOTFILE_PATH)/.config/fastfetch/config.jsonc $(HOME)/.config/fastfetch/config.jsonc
ghostty:
mkdir -p $(HOME)/.config/ghostty/themes
ln -sf $(DOTFILE_PATH)/.config/ghostty/config $(HOME)/.config/ghostty/config
ln -sf $(DOTFILE_PATH)/.config/ghostty/themes/jjideenschmiede $(HOME)/.config/ghostty/themes/jjideenschmiede
nvim:
mkdir -p $(HOME)/.config/nvim/lua
ln -sf $(DOTFILE_PATH)/.config/nvim/init.lua $(HOME)/.config/nvim/init.lua
ln -sf $(DOTFILE_PATH)/.config/nvim/lua/default.lua $(HOME)/.config/nvim/lua/default.lua
all: git tmux zsh fastfetch ghostty nvim