summaryrefslogtreecommitdiff
path: root/bspwm/deploy.sh
blob: 65b9fd1e085eeaa5d6225ab9e0c52b879787e4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

wd="$HOME/.local/src/bspwm"

[ ! -d "$HOME/.local/src" ] && mkdir -p "$wd"

rm -rf "$wd"
git clone https://github.com/baskerville/bspwm "$wd"

patch -d "$wd" -p1 -i $(realpath change_update_order.patch)

make -C "$wd" 
doas make -C "$wd" install PREFIX=/usr