-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (50 loc) · 1.64 KB
/
Makefile
File metadata and controls
68 lines (50 loc) · 1.64 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Perhaps this should be a script, not sure yet
#
# TODO: I am going to have color palettes that I would like to exist
# across multiple configs. Therefore, I should read the color palette
# and populate the configs with those colors.
#
MAKEFLAGS += --no-print-directory
.PHONY: install-hack-nerd-font
install-hack-nerd-font:
@mkdir -p /tmp/hack-nerd-font
@curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/Hack.zip \
-o /tmp/hack-nerd-font/Hack.zip
@unzip /tmp/hack-nerd-font/Hack.zip -d /tmp/hack-nerd-font
@mkdir -p ~/.local/share/fonts
@find /tmp/hack-nerd-font -name "*.ttf" -exec cp {} ~/.local/share/fonts \;
@fc-cache -fv
@rm -rf /tmp/hack-nerd-font
install-x11:
# Dead code?
ln -v -s $(PWD)/.xinitrc ~/.xinitrc
ln -v -s $(PWD)/.Xresources ~/.Xresources
ln -v -s $(PWD)/awesome ~/.config/awesome
install-vim:
mkdir -v ~/.vim
ln -v -s $(PWD)/.vimrc ~/.vimrc
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
install-sway:
echo impl me
.PHONY: config-install
config-install: config-install-nvim config-install-sway config-install-alacritty config-install-waybar
.PHONY: config-install-%
config-install-%:
$(MAKE) -C $* config-install
base:
mkdir -v ~/.config
mkdir -v ~/bin
# Should split bashrc into multiple files.
ln -v -s $(PWD)/.bashrc ~/.bashrc
# SSH keys and AWS stuffs.
# Git config
# Conda Env?
# conda env create -f miniconda3.env.py-3.7.11.yaml
# Golang stuff.
# Pacman packages
# tools/pacman_install.sh
# Other packages? (nvidia driver stuffs)
# These should probably be different targets
clean:
echo Please impl me