increase pomodoro intervals.

This commit is contained in:
NunoSempere 2023-08-24 11:04:58 +02:00
parent dd1332e6cb
commit a78d6f7731
2 changed files with 9 additions and 9 deletions

BIN
pomo Executable file

Binary file not shown.

18
pomo.c
View File

@ -3,8 +3,8 @@
#include <time.h>
#include <unistd.h>
#define MAX_MSG_LEN 100
#define LEN(a) (sizeof(a) / sizeof(a[0]))
#define MAX_MSG_LEN 100
typedef struct {
unsigned int t;
@ -12,14 +12,14 @@ typedef struct {
} Timers;
static Timers timers[] = {
{ 1500, "Time to start working!" },
{ 300, "Time to start resting!" },
{ 1500, "Time to start working!" },
{ 300, "Time to start resting!" },
{ 1500, "Time to start working!" },
{ 300, "Time to start resting!" },
{ 1500, "Time to start working!" },
{ 900, "Time to take a longer rest!" },
{ 2400, "Time to start working!" },
{ 600, "Time to start resting!" },
{ 2400, "Time to start working!" },
{ 600, "Time to start resting!" },
{ 2400, "Time to start working!" },
{ 600, "Time to start resting!" },
{ 2400, "Time to start working!" },
{ 1800, "Time to take a longer rest!" },
};
void spawn(char* argv[])