Tea-time is an extention to emacs. Kind of analog of gnome applet tea-time
It allows you to set up time intervals and after this interval is elapsed, Emacs will notify you with sound and notification. It could be useful if you make a tea or if you would like to be more productive by setting time limit for a task.
If available, notification would be done with great tool mumbles If not, then simply use standard emacs message.
Tested on Emacs:
- 23
- 24.4
Should work on any version.
-
Download from http://github.com/krick/tea-time/tree/master, or simply
git clone git://github.com/krick/tea-time.git
-
Add tea-time directory to the load path, if needed
(add-to-list "path-to-tea-time"))
- Add the code below in your .emacs
(require 'tea-time)
- Customize variable
tea-time-sound
viaM-x customize
or simply put in .emacs
(setq tea-time-sound "path-to-sound-file")
- Interactively call
(tea-time)
- Enter period in minutes if you want to start timer
- Or press Enter without giving any number if you would like to know how much time is remaining before the timer expires
- Use
(tea-timer-cancel)
to cancel currently running timer. - Suggested binding:
(define-key global-map "\C-ct" 'tea-time)