cruxports/nyxt/.watch

6 lines
162 B
Bash
Executable File

#!/bin/sh
curl -s "https://github.com/atlas-engineer/nyxt/releases" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \
| head -n 1