jschlatow / taskopen

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

Notational Velocity, XMPP, TEL, mailto & geo URI handler implemented #79

Closed benjaminweb closed 6 years ago

benjaminweb commented 11 years ago

For your reference.

jschlatow commented 11 years ago

Thank you for your effort. However, I'm not sure yet whether I really wanna hard-code all those URI types into taskopen. I reckon most of the URIs can be handled by xdg-open already. I'm rather thinking about implementing support for unlimited and nameable custom regex so that every user will be able to adapt taskopen to their needs.

By the way, the GEO_CMD has no effect in your implementation.

benjaminweb commented 11 years ago

I think a simple approach making it possible to assign regex to a command would make sense: http|www: xdg-open tel: xdg-open xmpp: xdg-open

A loop could go through all them. The loop should be designed as the core of taskopen, eliminating any redundancy of the current script.

On Mon, Apr 15, 2013 at 11:02 AM, Johannes S. notifications@github.comwrote:

Thank you for your effort. However, I'm not sure yet whether I really wanna hard-code all those URI types into taskopen. I reckon most of the URIs can be handled by xdg-open already. I'm rather thinking about implementing support for unlimited and nameable custom regex so that every user will be able to adapt taskopen to their needs.

By the way, the GEO_CMD has no effect in your implementation.

— Reply to this email directly or view it on GitHubhttps://github.com/ValiValpas/taskopen/pull/79#issuecomment-16374043 .

buhtz commented 6 years ago

Current state of this PR?

jschlatow commented 6 years ago

@buhtz This is adressed by #91, which allows for an arbitrary number of custom commands.