summaryrefslogtreecommitdiffstats
path: root/.bin/dot-sync
blob: 7f4d4908f46c3228c557b2dc8536297f1a805227 (plain) (blame)
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
#!/bin/sh

set -x -e

export GIT_SSH_COMMAND="ssh -o ConnectTimeout=1 -o ConnectionAttempts=1"

yadm pull

yadm add -u
yadm add \
	$HOME/.bin \
	$HOME/.config/i3 \
	$HOME/.config/neomutt \
	$HOME/.config/newsboat \
	$HOME/.config/nvim \
	$HOME/.config/qutebrowser/{*.py,greasemonkey} \
	$HOME/.config/sway \
	$HOME/.config/yadm \
	$HOME/.config/waybar \
	$HOME/.public-keys

yadm push

yadm commit -m "$(date +%Y-%m-%dT%H:%M:%S)"
yadm push
remember that computers suck.