From 82df70eff06e7b44ee84283070d7f801f7fc1d92 Mon Sep 17 00:00:00 2001
From: Sam Chudnick <sam@chudnick.com>
Date: Sat, 6 Nov 2021 20:25:45 -0400
Subject: initial commit

---
 .local/bin/pdf-preview | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100755 .local/bin/pdf-preview

(limited to '.local/bin/pdf-preview')

diff --git a/.local/bin/pdf-preview b/.local/bin/pdf-preview
new file mode 100755
index 0000000..1587f36
--- /dev/null
+++ b/.local/bin/pdf-preview
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Typically called from vim
+# Displays a pdf preview of an in-progress groff document
+# Takes the filename as the only argument
+# The pdf file is expected to have the same name as the groff document
+
+zathura "${1%.*}.pdf" &
-- 
cgit v1.2.3