#!/data/data/com.termux/files/usr/bin/bash
# Gets every widget from termux.zanoski.com/widgets into ~/.shortcuts.
mkdir -p ~/.shortcuts && cd ~/.shortcuts || exit 1
for w in bar btop weather ping colors cal crypto; do
  if curl -fsSLO "https://termux.zanoski.com/w/$w.sh"; then chmod +x "$w.sh"; echo "got $w.sh"; else echo "could not get $w.sh"; fi
done
echo "done: hold a script window, then script, to pick one"
