commit cafb6102dbf20da051ea75e028bbef7d12a4478e
parent b7e94be5d0c75c73367303f8819c4bff39f38618
Author: Ivan Tham <pickfire@riseup.net>
Date: Thu, 25 Feb 2016 22:33:55 +0800
Show USR1 features and fix typo
Diffstat:
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -8,6 +8,7 @@ Features
--------
- Get the jobs done quicker than ever
- Keeps you free like a dog
+- Able to show remaining time
Installation
diff --git a/config.def.h b/config.def.h
@@ -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) */
/*
diff --git a/spt.1 b/spt.1
@@ -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