Skip to content

Commit

Permalink
Show USR1 features and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire committed Feb 26, 2016
1 parent b7e94be commit cafb610
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Features
--------
- Get the jobs done quicker than ever
- Keeps you free like a dog
- Able to show remaining time


Installation
Expand Down
2 changes: 1 addition & 1 deletion config.def.h
Original file line number Diff line number Diff line change
@@ -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) */

/*
Expand Down
8 changes: 8 additions & 0 deletions spt.1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit cafb610

Please sign in to comment.