blob: f41b9361be5c9fe656b69ade264980caf22d5657 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/sh
set -xe
export GIT_SSH_COMMAND="ssh -o ConnectTimeout=1 -o ConnectionAttempts=1"
yadm stash || true
yadm pull --rebase || true
yadm stash pop || true
yadm add -u || true
yadm add \
"${HOME}/.bin" \
"${HOME}/.config/cmus/playlists" \
"${HOME}/.config/i3" \
"${HOME}/.config/mpv/mpv.conf" \
"${HOME}/.config/mpv/scripts" \
"${HOME}/.config/neomutt" \
"${HOME}/.config/newsboat" \
"${HOME}/.config/nvim" \
"${HOME}/.config/qutebrowser/*.py" \
"${HOME}/.config/qutebrowser/bookmarks" \
"${HOME}/.config/qutebrowser/greasemonkey" \
"${HOME}/.config/qutebrowser/quickmarks" \
"${HOME}/.config/qutebrowser/userscripts/*.py" \
"${HOME}/.config/sway" \
"${HOME}/.config/task" \
"${HOME}/.config/yadm" \
"${HOME}/.config/waybar" \
"${HOME}/.config/zk" \
"${HOME}/.public-keys" \
|| true
yadm push
nvim --headless -c "PaqSync" -c "TSInstall all" -c "TSUpdate" -c "qa"
yadm commit -m "$(date +%Y-%m-%dT%H:%M:%S)"
yadm push
|