馃敡 Where my dotfiles lives in harmony and peace, most of the time
1DOTFILES := $(shell pwd)
2
3.PHONY: help
4help:
5 @ grep "^[a-zA-Z].*:" Makefile | cut -d: -f1 | grep -v "DOTFILES"
6
7.PHONY: lint-sh
8lint-sh:
9 @ rg --files -g '*.sh' -g 'scripts/*' -g '*/setup.sh' | xargs -r shellcheck -x
10
11.PHONY: paru
12paru:
13 @ sudo pacman -S --needed base-devel
14 @ git clone https://aur.archlinux.org/paru.git /tmp/paru
15 @ cd /tmp/paru && makepkg -si --noconfirm
16
17.PHONY: git
18git:
19 @ ${DOTFILES}/git/setup.sh
20
21.PHONY: fonts
22fonts:
23 @ $(DOTFILES)/fonts/setup.sh
24
25.PHONY: code
26code:
27 @ $(DOTFILES)/code/setup.sh
28
29.PHONY: agents
30agents:
31 @ $(DOTFILES)/agents/setup.sh
32
33.PHONY: zed
34zed:
35 @ $(DOTFILES)/zed/setup.sh
36
37.PHONY: terminal
38terminal:
39 @ $(DOTFILES)/terminal/setup.sh
40
41.PHONY: hypr
42hypr:
43 @ ${DOTFILES}/hypr/setup.sh
44
45.PHONY: desktop
46desktop:
47 @ ${DOTFILES}/desktop/setup.sh
48
49.PHONY: system
50system:
51 @ $(DOTFILES)/system/setup.sh
52
53.PHONY: maintenance
54maintenance:
55 @ ${DOTFILES}/scripts/run-maintenance-tasks
56
57.PHONY: zephyr
58zephyr:
59 @ ${DOTFILES}/hosts/zephyr/setup.sh
60
61.PHONY: helix
62helix:
63 @ ${DOTFILES}/hosts/helix/setup.sh
64
65.PHONY: post-installation
66post-installation:
67 @ echo "GPU Setup"
68 @ echo "Pacman/paru config"
69 @ echo "Performance Kernel Parameters"