-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
104 lines (79 loc) · 2.67 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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.PHONY: bash vim tmux screen git x fonts gtk redshift dunst grobi ripgrep
.PHONY: mpv rtorrent sxiv zathura ncspot weechat mutt himalaya ghostty
.PHONY: system76
CWD=$(shell pwd)
nvim:
mkdir -p ~/.config/nvim
ln -sf $(CWD)/nvim/init.lua $(HOME)/.config/nvim/init.lua
ln -sf $(CWD)/nvim/lua $(HOME)/.config/nvim/lua
vim:
mkdir -p $(HOME)/.vim
ln -sf $(CWD)/vim/vimrc $(HOME)/.vimrc
ln -sf $(CWD)/vim/colors $(HOME)/.vim/colors
curl -sfLo $(HOME)/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
tmux:
ln -sf $(CWD)/tmux.conf $(HOME)/.tmux.conf
ln -sf $(CWD)/tmux $(HOME)/.tmux
screen:
ln -sf $(CWD)/screenrc $(HOME)/.screenrc
ghostty:
mkdir -p $(HOME)/.config
ln -sf $(CWD)/ghostty $(HOME)/.config/
git:
cp $(CWD)/gitconfig $(HOME)/.gitconfig
bash:
ln -sf $(CWD)/dir_colors $(HOME)/.dir_colors
ln -sf $(CWD)/bash/bashrc $(HOME)/.bashrc
ln -sf $(CWD)/bash/bash_profile $(HOME)/.bash_profile
x:
ln -sf $(CWD)/Xresources $(HOME)/.Xresources
ln -sf $(CWD)/xinitrc $(HOME)/.xinitrc
ln -sf $(CWD)/xbindkeysrc $(HOME)/.xbindkeysrc
ln -sf $(CWD)/urlview $(HOME)/.urlview
gtk:
mkdir -p ~/.config/gtk-3.0
ln -sf $(CWD)/gtk3-settings.ini $(HOME)/.config/gtk-3.0/settings.ini
fonts:
mkdir -p $(HOME)/.config/fontconfig
ln -sf $(CWD)/fonts.conf $(HOME)/.config/fontconfig/fonts.conf
redshift:
mkdir -p $(HOME)/.config/redshift
ln -sf $(CWD)/redshift.conf $(HOME)/.config/redshift/redshift.conf
dunst:
mkdir -p $(HOME)/.config/dunst
ln -sf $(CWD)/dunstrc $(HOME)/.config/dunst/dunstrc
# email
mutt:
mkdir -p $(HOME)/.mutt
ln -sf $(CWD)/mutt/muttrc $(HOME)/.mutt/muttrc
ln -sf $(CWD)/mutt/conf.d $(HOME)/.mutt/conf.d
ln -sf $(CWD)/mutt/accounts $(HOME)/.mutt/accounts
himalaya:
mkdir -p ~/.config/himalaya
ln -sf $(CWD)/himalaya/config.toml ~/.config/himalaya/config.toml
ln -sf $(CWD)/himalaya/mbsyncrc $(HOME)/.mbsyncrc
cp $(CWD)/himalaya/himalaya.service $(HOME)/.config/systemd/user/himalaya.service
mpv:
mkdir -p $(HOME)/.config/mpv
ln -sf $(CWD)/mpv.conf $(HOME)/.config/mpv/mpv.conf
ln -sf $(CWD)/mpv-input.conf $(HOME)/.config/mpv/input.conf
rtorrent:
mkdir -p $(HOME)/.rtorrent
ln -sf $(CWD)/rtorrent.rc $(HOME)/.rtorrent.rc
sxiv:
ln -sf $(CWD)/sxiv $(HOME)/.config/sxiv
zathura:
mkdir -p $(HOME)/.config/zathura
ln -sf $(CWD)/zathurarc $(HOME)/.config/zathura/zathurarc
ncspot:
mkdir -p $(HOME)/.config/ncspot
ln -sf $(CWD)/ncspot.toml $(HOME)/.config/ncspot/config.toml
weechat:
ln -sf $(CWD)/weechat $(HOME)/.weechat
grobi:
ln -sf $(CWD)/grobi.conf $(HOME)/.config/grobi.conf
ripgrep:
ln -sf $(CWD)/ripgreprc $(HOME)/.ripgreprc
system76:
sudo cp $(CWD)/system76/system76-power.service /etc/systemd/system