summaryrefslogtreecommitdiff
path: root/build
blob: 667eac5190705aaa35bc95befc3c0d807c49abea (plain)
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
#!/usr/bin/env bash

# var setup
RC_DIR="$HOME/src/rc"

# bin directory
mkdir "$HOME/bin"

# dwm setup
DWM_DIR="$HOME/src/dwm"
git clone https://git.tombarrett.xyz/git/dwm "$DWM_DIR"
ln -s "$RC_DIR/config/dwm.h" "$DWM_DIR/config.h"
make -C "$DWM_DIR"
ln -s "$DWM_DIR/dwm" "$HOME/bin"

# dwmstatus setup
DWMSTS_DIR="$HOME/src/dwmstatus"
git clone https://git.tombarrett.xyz/git/dwmstatus "$DWMSTS_DIR"
make -C "$DWMSTS_DIR"
ln -s "$DWMSTS_DIR/dwmstatus" "$HOME/bin"

# st setup
ST_DIR="$HOME/src/st"
git clone https://git.tombarrett.xyz/git/st "$ST_DIR"
ln -s "$RC_DIR/config/st.h" "$ST_DIR/config.h"
make -C "$ST_DIR"
ln -s "$ST_DIR/st" "$HOME/bin"

# pinentry-dmenu setup
PE_DIR="$HOME/src/pinentry-dmenu"
git clone https://git.tombarrett.xyz/git/pinentry-dmenu "$PE_DIR"
make -C "$PE_DIR"
ln -s "$PE_DIR/pinentry-dmenu" "$HOME/bin"

# wallpapers setup
mkdir -p "$HOME/personal"
git clone https://git.tombarrett.xyz/git/wallpapers "$HOME/personal/wallpapers"

mkdir -p "$HOME/.config/"

# zsh setup
ln -s "$RC_DIR/.zshrc" "$HOME"

# freedesktop setup
ln -s "$RC_DIR/.config/user-dirs.dirs" "$HOME/.config/"

# ranger setup
ln -s "$RC_DIR/.config/ranger" "$HOME/.config/"

# stig setup
ln -s "$RC_DIR/.config/stig" "$HOME/.config/"

# ncmpcpp setup
ln -s "$RC_DIR/.config/ncmpcpp" "$HOME/.config/"

# xorg setup
ln -s "$RC_DIR/.xinitrc" "$HOME"

# autostart script
ln -s "$RC_DIR/.autostart" "$HOME"

# git setup
ln -s "$RC_DIR/.gitconfig" "$HOME"

# neomutt setup
ln -s "$RC_DIR/.muttrc" "$HOME"
ln -s "$RC_DIR/.mailcap" "$HOME"

# calcurse setup
ln -s "$RC_DIR/.config/calcurse" "$HOME/.config/"

# xscreensaver setup
ln -s "$RC_DIR/.xscreensaver" "$HOME"

# gpg setup
mkdir -p "$HOME/.gnupg"
ln -s "$RC_DIR/.gnupg/gpg-agent.conf" "$HOME/.gnupg/"
ln -s "$RC_DIR/.gnupg/pinentry-dmenu.conf" "$HOME/.gnupg/"
ln -s "$RC_DIR/scripts/pinentry-auto" "$HOME/bin"

echo "use gpg --list-secret-keys --with-keygrip, write the [A] keygrip to .gnupg/sshcontrol"