home ~ projects ~ socials

Espanso Neopolitan Video Template

This is the Espanso template I use to make video pages in my grimoire

#!/bin/bash 

TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")

echo "-- video"
echo "-- title: $|$"
echo "-- url: "
echo ""
echo ""
echo ""
echo "-- page"
echo "-- created: $TIMESTAMP"
echo "-- id: `/Users/alan/go/bin/ksuid | cut -c1-8 | tr '[:upper:]' '[:lower:]'`"
echo "-- type: post
-- tag: video"
echo "-- status: done"
echo ""
-- end of line --