pomo

A simple pomodoro timer
Log | Files | Refs | README | LICENSE

commit 4b719809339c3d7ae20ac95ba8a59dd94234be8c
parent 4844396830fe79f995b298c35b99200b04f6809e
Author: Ivan Tham <pickfire@riseup.net>
Date:   Tue,  1 Nov 2016 00:16:56 +0800

Major release with tons of improvements

    - Minor fix, sigemptyset(&emptymask)
    - Mostly consists of major code changes.

Great thanks to Simon Lieb (pips-) for his help.

Diffstat:
Mconfig.mk | 2+-
Mspt.c | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ # spt version -VERSION = 0.3 +VERSION = 0.4 # Customize below to fit your system diff --git a/spt.c b/spt.c @@ -150,6 +150,8 @@ main(int argc, char *argv[]) if (sigaction(SIGUSR2, &sa, NULL) == -1) die("cannot associate SIGUSR2 to handler\n"); + sigemptyset(&emptymask); + for (i = 0; ; i = (i + 1) % LEN(timers)) { notify_send(timers[i].cmt); remaining.tv_sec = timers[i].tmr;