Espanso Neopolitan Video Template

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

bash

#!/bin/bash 

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

echo "-- video"
echo "-- title: $|$"
echo "-- url: "
echo ""
echo ""
echo ""
echo "-- metadata"
echo "-- date: $TIMESTAMP"
echo "-- id: `/Users/alan/go/bin/ksuid | cut -c1-8 | tr '[:upper:]' '[:lower:]'`"
echo "-- type: video"
echo "-- status: published"
echo ""