Add hook support #8

Closed
tj opened this Issue Oct 15, 2009 · 7 comments

Comments

Projects
None yet
4 participants
Owner

tj commented Oct 15, 2009

No description provided.

Collaborator

stephenmckinney commented Dec 14, 2012

Could you provide any more details on what you had in mind here?

tj was assigned Dec 16, 2012

Contributor

cgardner commented Jan 18, 2013

I would love to see this as well. 👍

Owner

tj commented Jan 18, 2013

kinda like git hooks

Owner

tj commented Jan 18, 2013

I never remember to use pomo anymore though haha

Collaborator

stephenmckinney commented Jan 19, 2013

I could see how this could be useful, although most of the uses I have for it (tmux refresh and notification are already baked in).

To avoid a ~/.pomo/hooks directory, would it suffice to have one-liners in the ~/.pomorc?:

e.g.

:pre-start: osascript -e 'tell application "Quicksilver" to show large type "Starting task"
:post-start: osascript -e 'tell application "Quicksilver" to show large type "Ending task"
:pre-break: osascript -e 'tell application "Quicksilver" to show large type "Starting break"
:post-break: osascript -e 'tell application "Quicksilver" to show large type "Ending break"
Collaborator

stephenmckinney commented Feb 9, 2013

Closing due to lack of feedback. Will open back up if some more details come through.

I'd like to tweet my pomodoros to a specific account (using t) after every pomodoro, open a redmine url in firefox (with issue number coming from task) as soon as the pomodoro starts (and ends), or run git status when pomodoro ends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment