]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zathura/bin/zat
Split huge bin/ to proper subdirectories
[dotfiles.git] / zathura / bin / zat
diff --git a/zathura/bin/zat b/zathura/bin/zat
new file mode 100755 (executable)
index 0000000..90c2f6b
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+export PATH=$HOME/local/bin:$PATH
+export XDG_DATA_DIRS=$HOME/local
+export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH
+winid=`start-tabbed.sh zathura -c`
+bin.zathura -e $winid "$1"
+rm -f zathura.core