diff options
| author | foswret <foswret@posteo.com> | 2025-09-09 21:05:48 -0500 |
|---|---|---|
| committer | foswret <foswret@posteo.com> | 2025-09-09 21:05:48 -0500 |
| commit | feb53033f4ea43f51d122e256cca1672710ba1e2 (patch) | |
| tree | 9c65412c652ad047f411d256c61976a29a7dce23 /beefsteak.c | |
| parent | 4088087375ba1a256b6224d8ffbd6f874750ee18 (diff) | |
Diffstat (limited to 'beefsteak.c')
| -rw-r--r-- | beefsteak.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/beefsteak.c b/beefsteak.c index 7e05d83..8be2100 100644 --- a/beefsteak.c +++ b/beefsteak.c @@ -15,8 +15,6 @@ /* 60 SECONDS = 1 MINUTE */ /* 60 MINUTES = 1 HOUR, 3600 SECONDS */ -int work_time_seconds = WORK_TIME_MIN * 60; -int break_time_seconds = BREAK_TIME_MIN * 60; int clear_stream(void) { fflush(stdout); @@ -60,7 +58,7 @@ int send_notification(int type) { system(command); break; case 2: /* Session Ended*/ - sprintf(message, "\"🕰️ Pomodoro Session Started\" \"All Done.\""); + sprintf(message, "\"🕰️ Pomodoro Session Complete\" \"All Done.\""); strcat(command, message); system(command); break; @@ -70,6 +68,8 @@ int send_notification(int type) { int main(int argc, char **argv) { for (int i = 0; i < SESSION_COUNT; i++) { + int work_time_seconds = WORK_TIME_MIN * 60; + int break_time_seconds = BREAK_TIME_MIN * 60; send_notification(0); while (work_time_seconds > 0) { printf("Work Time Left: "); |
