summaryrefslogtreecommitdiff
path: root/notesplain
diff options
context:
space:
mode:
Diffstat (limited to 'notesplain')
-rwxr-xr-xnotesplain4
1 files changed, 2 insertions, 2 deletions
diff --git a/notesplain b/notesplain
index 80b057b..c263757 100755
--- a/notesplain
+++ b/notesplain
@@ -5,6 +5,6 @@ dir="$OBSIDIAN_HOME"
file="$(ls -1 "$dir" | sed 's/\.md$//' | dmenu -l 15 -p 'Select note:')"
if [ -n "$file" ]; then
- tmpfile="$(mktemp /tmp/"$file"_XXXXXXXX.pdf)"
- pandoc "$dir/$file.md" -o "$tmpfile" && zathura "$tmpfile" &
+ tmpfile="$(mktemp /tmp/"$file"_XXXXXXXX.pdf)"
+ pandoc "$dir/$file.md" -o "$tmpfile" && zathura "$tmpfile" &
fi