pomo/spt.1

52 lines
887 B
Groff
Raw Normal View History

2015-11-28 13:08:54 +00:00
.TH SPT 1 spt\-VERSION
.SH NAME
spt \- simple pomodoro timer
.SH SYNOPSIS
.B spt
.RB [ \-e
.IR notifyext ]
.RB [ \-n
.IR notifycmd ]
2015-11-28 13:08:54 +00:00
.RB [ \-v ]
.SH DESCRIPTION
.B spt
is a simple timer that uses pomodoro technique with desktop notification to
double your efficiency.
.B spt
receives 2 signals:
2016-10-29 04:40:54 +00:00
.P
2016-02-25 14:33:55 +00:00
.RS
.B SIGUSR1
2016-10-29 04:40:54 +00:00
\- show remaining time, state
.br
.B SIGUSR2
\- play/pause the timer
2016-02-25 14:33:55 +00:00
.RE
2015-11-28 13:08:54 +00:00
.SH OPTIONS
.TP
.BI \-e " notifyext"
Execute
.I notifycmd
when timer starts ticking.
.TP
.BI \-n " notifycmd"
Execute
.I notifycmd
if not compiled with
.IR "-DNOTIFY".
2015-11-28 13:08:54 +00:00
.TP
.BI \-v
Prints version information to stderr, then exits.
.SH TIMER
4 pomodoro timer (
.B 25 min.
) with subsequent rests in between (
.B 5 min.
) and followed by a long rest (
.B 15 min.
) in an infinite loop.
2015-11-28 13:08:54 +00:00
.SH EXAMPLES
Use system notify_send and play a music without libnotify:
.IP
spt -e 'aplay alarm.wav' -n 'notify-send'