Show USR1 features and fix typo
This commit is contained in:
parent
b7e94be5d0
commit
cafb6102db
|
@ -8,6 +8,7 @@ Features
|
||||||
--------
|
--------
|
||||||
- Get the jobs done quicker than ever
|
- Get the jobs done quicker than ever
|
||||||
- Keeps you free like a dog
|
- Keeps you free like a dog
|
||||||
|
- Able to show remaining time
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
/* Notification */
|
/* 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) */
|
static char *notifyext = ""; /* Notify with extra command (eg. play an alarm) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
8
spt.1
8
spt.1
|
@ -12,6 +12,12 @@ spt \- simple pomodoro timer
|
||||||
.B spt
|
.B spt
|
||||||
is a simple timer that uses pomodoro technique with desktop notification to
|
is a simple timer that uses pomodoro technique with desktop notification to
|
||||||
double your efficiency.
|
double your efficiency.
|
||||||
|
|
||||||
|
To check the remaining time, send USR1 signal to spt by:
|
||||||
|
|
||||||
|
.RS
|
||||||
|
.B pkill -USR1 spt
|
||||||
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-e " notifyext"
|
.BI \-e " notifyext"
|
||||||
|
@ -36,8 +42,10 @@ with subsequent rests in between
|
||||||
and
|
and
|
||||||
followed by a long rest
|
followed by a long rest
|
||||||
.RB ( "15 min." )
|
.RB ( "15 min." )
|
||||||
|
.B in an infinite loop
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
Use system notify_send and play a music without libnotify:
|
Use system notify_send and play a music without libnotify:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.B spt -e 'aplay alarm.wav' -n 'notify-send'
|
.B spt -e 'aplay alarm.wav' -n 'notify-send'
|
||||||
.RE
|
.RE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user