summaryrefslogtreecommitdiff
path: root/Makefile
blob: 189a8e7ffaface4a1914ef7ba9317cc0cc2abdea (plain)
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
# glazewm
FILES += .glzr/glazewm/config.yaml

# zebar
FILES += .glzr/zebar/bar/bar.zebar.json
FILES += .glzr/zebar/bar/index.html
FILES += .glzr/zebar/bar/styles.css
FILES += .glzr/zebar/settings.json

# windows terminal
FILES += AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json

# komorebi
FILES += .config/whkdrc
FILES += komorebi.json

MOUNT := /mnt/c/Users/fmurphy
LOCAL := fmurphy

.SILENT:
.PHONY: repo install

repo:
	for file in $(FILES); do \
		mount="$(MOUNT)/$$file"; \
		local="$(LOCAL)/$$file"; \
		mkdir -p $$(dirname "$$local"); \
		cp $$mount $$local; \
	done

install:
	for file in $(FILES); do \
		mount="$(MOUNT)/$$file"; \
		local="$(LOCAL)/$$file"; \
		mkdir -p $$(dirname "$$mount"); \
		cp $$local $$mount; \
	done