summaryrefslogblamecommitdiffstats
path: root/.bin/dot-sync
blob: 0643086db3de7eb940800cc74db747e09ab3f1de (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                        




                                                    
                            
                            

                              
                          



                          

                                                                     

                                           
#!/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 \
	$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

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
remember that computers suck.