-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (32 loc) · 1.37 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
CWD := $(shell pwd)
.PHONY: install
install:
mkdir -p ~/.config
mkdir -p ~/.config/alacritty
- ln -Fis $(CWD)/nvim ~/.config
- ln -Fis $(CWD)/kitty ~/.config
- ln -Fis $(CWD)/ghostty ~/.config
- ln -is $(CWD)/zsh/zshrc ~/.zshrc
- ln -is $(CWD)/other/hushlogin ~/.hushlogin
- ln -is $(CWD)/git/gitignore ~/.gitignore
- ln -is $(CWD)/git/gitconfig ~/.gitconfig
- ln -is $(CWD)/tmux/tmux.conf ~/.tmux.conf
- ln -is $(CWD)/alacritty/alacritty.yml ~/.config/alacritty/alacritty.yml
- ln -is $(CWD)/alacritty/base16-monokai.yml ~/.config/alacritty/base16-monokai.yml
- git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
- $(CURDIR)/scripts/macos-defaults.sh
- $(CURDIR)/scripts/brew-install.sh
- $(CURDIR)/scripts/go-install.sh
.PHONY: update/kitty
update/kitty:
wget "https://raw.githubusercontent.com/dexpota/kitty-themes/master/themes/gruvbox_dark.conf" \
-P ~/.config/kitty/kitty-themes/themes
.PHONY: install/listen-on-camera
install/listen-on-camera:
- mkdir -p ~/Library/Kern.io
- mkdir -p ~/Library/LaunchAgents
- ln -is $(CWD)/automation/io.kern.listen-on-camera.plist ~/Library/LaunchAgents/io.kern.listen-on-camera.plist
- launchctl load ~/Library/LaunchAgents/io.kern.listen-on-camera.plist
.PHONY: install/listen-on-camera/upload
install/listen-on-camera/unload:
- launchctl unload ~/Library/LaunchAgents/io.kern.listen-on-camera.plist