diff --git a/dotfiles/systemd.org b/dotfiles/systemd.org index 48eee92..c69aa11 100644 --- a/dotfiles/systemd.org +++ b/dotfiles/systemd.org @@ -72,9 +72,15 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage- if [[ ! -z $(git status -s bookmarks.db) ]] then - git add bookmarks.db - git commit -m "Changed bookmarks - $(date +%F)" - git push + rm bookmarks.org; + buku -e bookmarks.org && \ + cat header.org bookmarks.org > index.org && \ + emacs index.org --batch -f org-html-export-to-html --kill && \ + git add index.html + + git add bookmarks.db && \ + git commit -m "Changed bookmarks - $(date +%F)" && \ + git push exit fi #+end_src