diff options
| author | filip <“filip.rabiega@gmail.com”> | 2026-02-14 17:18:10 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2026-02-14 17:18:10 +0100 |
| commit | d1ec85edcfb34f40f35759f59e66f2205d905aae (patch) | |
| tree | 3707fbf2fae5eb07fbfc2e3c42ffb6aafa436e66 /openmd | |
| parent | 0dea101a038ba195048b4d0bc704f203d9cd1316 (diff) | |
| download | chadscripts-d1ec85edcfb34f40f35759f59e66f2205d905aae.tar.gz chadscripts-d1ec85edcfb34f40f35759f59e66f2205d905aae.tar.bz2 chadscripts-d1ec85edcfb34f40f35759f59e66f2205d905aae.zip | |
add se texclear samedir openmd installfont fzo drecord
Diffstat (limited to 'openmd')
| -rwxr-xr-x | openmd | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -z "$1" ]; then + echo "Usage: openmd file" + exit 1 +fi + +file="$1" +tmp_pdf="$(mktemp --suffix=.pdf)" + +pandoc "$file" -o "$tmp_pdf" &>/dev/null +zathura "$tmp_pdf" + +# cleanup after zathura closes +rm -f "$tmp_pdf" |
