jaspervdj / patat

Terminal-based presentations using Pandoc
GNU General Public License v2.0
2.37k stars 60 forks source link

Add proper support for speaker notes #142

Closed jaspervdj closed 10 months ago

jaspervdj commented 10 months ago

You can configure patat to write the speaker notes for the current slide to a file whenever the slide changes:

patat:
  speakerNotes:
    file: /tmp/notes.txt

Then, you can display these in a second terminal (presumably on a second monitor) by just displaying this file whenever it changes. entr is one way to do that:

echo /tmp/notes.txt | entr -s 'clear; cat /tmp/notes.txt'

Alternatively, just use a second patat instance with --watch enabled:

patat -w /tmp/notes.txt