projects
/
~bandali
/
configs
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
[rc/gtk,isync] migrate GTK and isync configs
[~bandali/configs]
/
zathura
/
.local
/
bin
/
zathura-sync.sh
1
#!/bin/sh
2
pos
=
"
$1
"
3
pdffile
=
"
$2
"
4
zathura
--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
"
)