From 0f08d04698c814955116b6bae50752e64b774d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 23 Dec 2021 18:28:03 +0000 Subject: Thu Dec 23 06:28:03 PM UTC 2021 --- .bin/dot-sync | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 .bin/dot-sync (limited to '.bin/dot-sync') diff --git a/.bin/dot-sync b/.bin/dot-sync new file mode 100755 index 0000000..7f4d490 --- /dev/null +++ b/.bin/dot-sync @@ -0,0 +1,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 -- cgit v1.2.3