Show USR1 features and fix typo

This commit is contained in:
Ivan Tham 2016-02-25 22:33:55 +08:00
parent b7e94be5d0
commit cafb6102db
3 changed files with 10 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Features
--------
- Get the jobs done quicker than ever
- Keeps you free like a dog
- Able to show remaining time
Installation

View File

@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* Notification */
static char *notifycmd = "libnotify"; /* Use built-in libnotify if empty */
static char *notifycmd = "libnotify"; /* Use libnotify or given command */
static char *notifyext = ""; /* Notify with extra command (eg. play an alarm) */
/*

8
spt.1
View File

@ -12,6 +12,12 @@ spt \- simple pomodoro timer
.B spt
is a simple timer that uses pomodoro technique with desktop notification to
double your efficiency.
To check the remaining time, send USR1 signal to spt by:
.RS
.B pkill -USR1 spt
.RE
.SH OPTIONS
.TP
.BI \-e " notifyext"
@ -36,8 +42,10 @@ with subsequent rests in between
and
followed by a long rest
.RB ( "15 min." )
.B in an infinite loop
.SH EXAMPLES
Use system notify_send and play a music without libnotify:
.RS
.B spt -e 'aplay alarm.wav' -n 'notify-send'
.RE