cruxports/wezterm/.watch

6 lines
154 B
Plaintext
Raw Normal View History

2023-02-17 15:00:33 -05:00
#!/bin/sh
curl -s "https://github.com/wez/wezterm/releases" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \
| head -n 1