-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
51 lines (41 loc) · 1.07 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
SHELL=/bin/bash
most: emacs bash git bin-utils x11 rofi
.PHONY: emacs bash git bin-utils x11 first-run-only rofi xfce4-keyboard-shortcuts
emacs:
@echo $@
rsync -va --exclude=elpa --exclude=straight --exclude=eln-cache --delete .emacs.d/ ~/.emacs.d/
straight-slurp-lock:
@echo $@
cp -a ~/.emacs.d/straight.lockfile.el .emacs.d/
bash:
@echo $@
cp -a .inputrc ~
cp -a .bash_custom ~
@if ! `grep -q bash_custom ~/.bashrc`; then \
echo "" >> ~/.bashrc; \
echo "source ~/.bash_custom" >> ~/.bashrc; \
fi
git:
@echo $@
mkdir -p ~/.config
cp -a git-prompt.sh ~/.config/git-prompt.sh
bin-utils:
@echo $@
mkdir -p ~/bin
cp -a bin/* ~/bin
x11:
@echo $@
cp -a .xprofile ~
cp -a .xbindkeysrc ~
# Pseudo tied to hardware or otherwise specific per workstation
hw:
@echo $@
cp -a .xmodmaprc ~
xfce4-keyboard-shortcuts:
@echo $@
mkdir -p ~/.config/xfce4/xfconf/xfce-perchannel-xml
cp -a xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/
rofi:
@echo $@
mkdir -p ~/.config/rofi
cp -a .config/rofi/config.rasi ~/.config/rofi/