* .emacs.d/init.el: Fix logic for loading display-fill-column-indicator.
[~bandali/configs] / .local / bin / zathura-sync
... / ...
CommitLineData
1#!/bin/sh
2pos="$1"
3pdffile="$2"
4zathura --synctex-forward "$pos" "$pdffile" || \
5 (
6 zathura -x "emacsclient --eval '(progn (switch-to-buffer (file-name-nondirectory \"%{input}\")) (goto-line %{line}))'" "$pdffile" &
7 sleep 1; zathura --synctex-forward "$pos" "$pdffile" )