about summary refs log tree commit diff stats
path: root/templates/latex/presentation/present.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 12:26:52 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 12:26:52 +0200
commit8961c2bed80314d79c3d642765128d85632f18e4 (patch)
treec8235e22d3f7c96fb6538a69d6067ec2f83ce3b2 /templates/latex/presentation/present.sh
parentfeat(common/init): Safe the %INIT_ variables for later use (diff)
downloadflake-templates-8961c2bed80314d79c3d642765128d85632f18e4.tar.gz
flake-templates-8961c2bed80314d79c3d642765128d85632f18e4.zip
feat(templates/latex/presentation): Init
Diffstat (limited to 'templates/latex/presentation/present.sh')
-rwxr-xr-xtemplates/latex/presentation/present.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/latex/presentation/present.sh b/templates/latex/presentation/present.sh
new file mode 100755
index 0000000..19b17e5
--- /dev/null
+++ b/templates/latex/presentation/present.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env sh
+
+killall swayidle
+pgrep gammastep | xargs kill
+
+# This avoids the `task` run in the `.zshrc`
+export NVIM="true"
+
+wl-mirror HDMI-A-1 &
+
+pdfpc --windowed=both ./build/%INIT_APPLICATION_NAME.pdf &
+riverctl send-to-output -current-tags next
+
+# vim: ft=sh