typedef enum { start_work, start_small_break, start_long_break } pomodoro_period; static char *notify_start_work = ""; static char *notify_start_small_break = ""; static char *notify_start_long_break = ""; typedef struct { unsigned int tmr; pomodoro_period p; } Timers; static Timers timers[] = { /* timer(s) comment */ { 1500, start_work}, { 300, start_small_break}, { 1500, start_work}, { 300, start_small_break}, { 1500, start_work}, { 300, start_small_break}, { 1500, start_work}, { 900, start_long_break}, };