Fixed a focus net problem
This commit is contained in:
parent
b935a0b3e2
commit
dca23708b4
1 changed files with 8 additions and 3 deletions
11
pomodoro
11
pomodoro
|
@ -24,13 +24,18 @@ POMODORO_LONG_RELAX_TIME=30
|
||||||
# during your work session.
|
# during your work session.
|
||||||
# not you can overide these functions in $HOME/.pomodoro
|
# not you can overide these functions in $HOME/.pomodoro
|
||||||
pomodoro_work_started() {
|
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_work_time_ended() {}
|
||||||
pomodoro_pause_started() {}
|
pomodoro_pause_started() {
|
||||||
pomodoro_pause_time_ended() {
|
|
||||||
[[ -x =get-shit-done ]] && sudo =get-shit-done play
|
[[ -x =get-shit-done ]] && sudo =get-shit-done play
|
||||||
}
|
}
|
||||||
|
pomodoro_pause_time_ended() {
|
||||||
|
pomodoro_work_started
|
||||||
|
}
|
||||||
|
|
||||||
# used to list latests task names
|
# used to list latests task names
|
||||||
typeset -U latestTasks
|
typeset -U latestTasks
|
||||||
|
|
Loading…
Reference in a new issue