Alternate Options Tutorial

Example of how to include alternate items that replace the one before it when the Option key is pressed.

Image preview of Alternate Options Tutorial plugin.

alternate_options.sh

Edit
Open on GitHub
#!/bin/bash
# <xbar.title>Alternate Options Tutorial</xbar.title>
# <xbar.version>v1.0</xbar.version>
# <xbar.author>Mat Ryer</xbar.author>
# <xbar.author.github>matryer</xbar.author.github>
# <xbar.image>http://i.imgur.com/EDYR52G.png</xbar.image>
# <xbar.desc>Example of how to include alternate items that replace the one before it when the Option key is pressed.</xbar.desc>
echo "Hello"
echo "Option key is pressed | alternate=true"

echo "Another"