increase pomodoro intervals.
This commit is contained in:
parent
dd1332e6cb
commit
a78d6f7731
18
pomo.c
18
pomo.c
|
@ -3,8 +3,8 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#define MAX_MSG_LEN 100
|
|
||||||
#define LEN(a) (sizeof(a) / sizeof(a[0]))
|
#define LEN(a) (sizeof(a) / sizeof(a[0]))
|
||||||
|
#define MAX_MSG_LEN 100
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned int t;
|
unsigned int t;
|
||||||
|
@ -12,14 +12,14 @@ typedef struct {
|
||||||
} Timers;
|
} Timers;
|
||||||
|
|
||||||
static Timers timers[] = {
|
static Timers timers[] = {
|
||||||
{ 1500, "Time to start working!" },
|
{ 2400, "Time to start working!" },
|
||||||
{ 300, "Time to start resting!" },
|
{ 600, "Time to start resting!" },
|
||||||
{ 1500, "Time to start working!" },
|
{ 2400, "Time to start working!" },
|
||||||
{ 300, "Time to start resting!" },
|
{ 600, "Time to start resting!" },
|
||||||
{ 1500, "Time to start working!" },
|
{ 2400, "Time to start working!" },
|
||||||
{ 300, "Time to start resting!" },
|
{ 600, "Time to start resting!" },
|
||||||
{ 1500, "Time to start working!" },
|
{ 2400, "Time to start working!" },
|
||||||
{ 900, "Time to take a longer rest!" },
|
{ 1800, "Time to take a longer rest!" },
|
||||||
};
|
};
|
||||||
|
|
||||||
void spawn(char* argv[])
|
void spawn(char* argv[])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user