dotfiles

My configuration files.
Log | Files | Refs | README

commit 11442f0ebff5deb616b8fc3fa86f796a4096f2ec
parent 5739fbf4f7720ed7018c8291b21529e57ee1d0b4
Author: Sven Möller <sven-moeller@outlook.de>
Date:   Sun, 26 Dec 2021 13:17:32 +0100

Sync cache.db of newsboat, set save directory

Diffstat:
Mbin/.local/bin/bm | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/.local/bin/bm b/bin/.local/bin/bm @@ -49,7 +49,7 @@ open () { download () { url="$(get_url $1 $2)" - pandoc --verbose -o "$(echo "$url" | sha1sum | cut -d' ' -f1).epub" "$url" + pandoc --verbose -o "$BM_DIR/saved/$(echo "$url" | sha1sum | cut -d' ' -f1).epub" "$url" } interactive () { @@ -70,6 +70,8 @@ interactive () { sync () { git diff --quiet || git commit -am "Update" git pull && git push + rsync -avzu git@svenmoeller.xyz:/home/git/documents/bookmarks/cache.db "$BM_DIR"/cache.db + rsync -avzu "$BM_DIR"/cache.db git@svenmoeller.xyz:/home/git/documents/bookmarks/cache.db } html () {