@palmin

On Mac, Secure ShellFish widgets don't know about lifetime unlock or something... not sure

@scottaw I will investigate.
@palmin no rush. Appreciate you as always

@scottaw A new Mac version is out and should fix the widget problem.

Please let me know if it still happens.

@palmin haven't seen the update yet in MAS but as soon as I do, I'll be all over it!
@scottaw Great. This is in in 2023.5 but because I couldn't come up with a good way to describe this it isn't mentioned in the release notes.
@palmin I'd love to see some examples of how you're using it to update the widget, with progress and so on. I have a suspicion there are tons of cool uses I'm not thinking of

@scottaw I'm pretty happy with this one:

JSON=$(curl -s https://api.github.com/repos/libgit2/libgit2/pulls?per_page=1)
TITLE=$(echo $JSON | jq -r '.[0].title')
URL=$(echo $JSON | jq -r '.[0].html_url')
widget --target pr arrow.triangle.merge $URL '#0c0' "$TITLE"

that shows the latest pull request from a repository and opens that PR when tapped.

@scottaw but I find it helps to make a script that includes the whole widget function if I want it to run from cron.
@palmin That's the kind of thing I was wondering about, yeah. Thank you!!