From 260d2d6c58436c37d1cdf2bc42af8f29f2776d67 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 9 Dec 2021 21:16:18 +0000 Subject: [PATCH] feat: add `pdf:present` task --- run | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/run b/run index 82a3506..9b76d13 100755 --- a/run +++ b/run @@ -43,6 +43,14 @@ function pdf:generate { "${@}" } +function pdf:present { + TALK_PATH=$1 + shift 1 + + pdfpc "${@}" "$TALK_PATH/$PDF_FILENAME" \ + --switch-screens +} + function pdf:watch { # Generate a new PDF file and watch for changes. echo "TODO: pdf:watch"