Fixed a focus net problem

This commit is contained in:
Yann Esposito (Yogsototh) 2011-11-17 16:52:28 +01:00
parent b935a0b3e2
commit dca23708b4

View file

@ -24,13 +24,18 @@ POMODORO_LONG_RELAX_TIME=30
# during your work session.
# not you can overide these functions in $HOME/.pomodoro
pomodoro_work_started() {
[[ -x =get-shit-done ]] && sudo =get-shit-done work
[[ -x =get-shit-done ]] && {
sudo =get-shit-done work
print -- "[focus on]"
}
}
pomodoro_work_time_ended() {}
pomodoro_pause_started() {}
pomodoro_pause_time_ended() {
pomodoro_pause_started() {
[[ -x =get-shit-done ]] && sudo =get-shit-done play
}
pomodoro_pause_time_ended() {
pomodoro_work_started
}
# used to list latests task names
typeset -U latestTasks