jschlatow / taskopen

Tool for taking notes and open urls with taskwarrior
GNU General Public License v2.0
364 stars 31 forks source link

Exotic URIs, e.g. tel:, xmpp:, nv:, sip:, etc. #77

Closed benjaminweb closed 11 years ago

benjaminweb commented 11 years ago

There are ample of different URIs out there: https://de.wikipedia.org/wiki/Uniform_Resource_Identifier#Beispiele

   anno1 tel:+491232345643

taskopen 253 -> call is being initiated

nv:// is application specific for Notational Velocity, personally the URI support allows a seemless integration with taskwarrior

geo:48.33,14.122;u=22.5 makes sense, Google Maps or OSM is opened.

Considering mailto:John.Doe@example.com could speed up drafting emails.

jschlatow commented 11 years ago

Well, there are obviously endless possibilities for URIs. Taskopen however is highly configurable and can therefore easily be extended to support special URIs.

You just need to specify a proper regular expression for (CUSTOM1_REGEX) and say which program shall be used for it (CUSTOM1_CMD).