diff options
Diffstat (limited to 'notesplain')
| -rwxr-xr-x | notesplain | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
