X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/4f183f2aa83af08c6c36bd982e2726fb1ac25d4c..69a6fe26a32906fa48b71bd32b007d65eb2c9d04:/zathura/.local/bin/zathura-sync.sh diff --git a/zathura/.local/bin/zathura-sync.sh b/zathura/.local/bin/zathura-sync.sh deleted file mode 100755 index 70aa8c9..0000000 --- a/zathura/.local/bin/zathura-sync.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -pos="$1" -pdffile="$2" -zathura --synctex-forward "$pos" "$pdffile" || \ - ( - zathura -x "emacsclient --eval '(progn (switch-to-buffer (file-name-nondirectory \"%{input}\")) (goto-line %{line}))'" "$pdffile" & - sleep 1; zathura --synctex-forward "$pos" "$pdffile" ) \ No newline at end of file