emacs: update packages, disable web-mode's auto indentation
[~bandali/configs] / .local / bin / zathura-sync
CommitLineData
a92a01fe
AB
1#!/bin/sh
2
3pos="$1"
4pdffile="$2"
5zathura --synctex-forward "$pos" "$pdffile" || \
6 (
7 zathura -x "emacsclient --eval '(progn (switch-to-buffer (file-name-nondirectory \"%{input}\")) (goto-line %{line}))'" "$pdffile" &
8 sleep 1; zathura --synctex-forward "$pos" "$pdffile" )