diff --git a/README.md b/README.md index f5e1695..59c8cbc 100644 --- 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 index 32ec45c..89f722f 100644 --- 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 index e672ef0..05a286c 100644 --- 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