Some of this maybe new with iOS 14 / watchOS 7, or it maybe I was just missing a trick before; However, I’ve now for three shortcuts on my watch:

  1. NeuxTeuxDeux
  2. TeuxDeuxs
  3. TeuxDone

Taking advantage of Haskerdeux and having my own server means I can create really simple, but useful, shortcuts using “Run script over SSH” as follows:

  1. NeuxTeuxDeux
    1. Ask for Input, with text input
    2. Run script over SSH where the script is:

       export CURL_CA_BUNDLE=/usr/pkg/share/mozilla-rootcerts/cacert.pem && /path/to/bin/haskerdeux today new "[Provided Input]"
      

      Those are actual " around the provided input otherwise it’ll only create Teuxdeuxs with single words.

  2. Teuxdeuxs
    1. Run script over SSH where the script is:

       export CURL_CA_BUNDLE=/usr/pkg/share/mozilla-rootcerts/cacert.pem && /path/to/bin/haskerdeux today todos
      
    2. Show Result with “Shell Script Result”

  3. TeuxDone
    1. Ask for Input, with a number
    2. Run script over SSH with

        export CURL_CA_BUNDLE=/usr/pkg/share/mozilla-rootcerts/cacert.pem && /path/to/bin/haskerdeux today [Provided Input] crossoff
      

On the one hand, being able to do stuff like this makes me think the Apple Watch is simply brilliant. On the other hand bugs like this make me want a Garmin (and a Google Pixel 4a).