From a78d6f77312a71e70b5e0815f80114f1fa8d07cd Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 24 Aug 2023 11:04:58 +0200 Subject: [PATCH] increase pomodoro intervals. --- pomo | Bin 0 -> 17568 bytes pomo.c | 18 +++++++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100755 pomo diff --git a/pomo b/pomo new file mode 100755 index 0000000000000000000000000000000000000000..5d548e59b98494ed81b523961a9a04ce1fddceb3 GIT binary patch literal 17568 zcmeHPeQX@X6(9TT#E|&xq%q_J$R>?NKI)5|FPwnk&h|NLZ)qwlC}5Oa>{iCPxdQP@!RRfd!I+oTvQqfF znBBl;09*t=uM|7!n}tF^v_$H;fTG=e%w(b0378S38X`rzTxsGeAtB1j1&?;cn3cSf z9_B*Eh?3kaPeEfy3jb@;9kP8yt#%lj)+(XjTIZm$-FqY@J9LM3d!*eSX-9MdD+Gxs z#S>$Kzgp?fNfnS`QutrSoOU~;os%|7eWF+frfp}9;8!WHRoV?H+zoTmT>@rAsl2ux@oYSQQRMlD$>EwHvB7tn(zIo;AD*ST8IC zht1|Ywli=uf*5rt=I2Qs^)^4=}-QMd|;WVg9+_rl{k<2 zufY#>c>4<;LA($#^nXTwt!HC;fG!i1+0yO6$xGRW{}edIh6n~7Wz)ynWy8Od1K*GX zzb^;gn*(plfxiN{0zYS}0U%pF@p8(BV;^S28*<>Ya^QahT!Ei6;W*Cb|JodQJK#&5 zPJq7!eskDDHtZEbx_%jq(+(V#8<^f3GFVKH$D?u98IA8{nwBsE9ecHo?!8)PAQWZ^ zBi?C*dUVzqOBxAagP;v|ddK}S7LIlV!crO!MT}0C2WU@RbRXgz^Yge4*|VYa!YxxPVL<5|Zjx5l%cY0Yh0G$>E+3MC9Z-nOM79F6F0 zf%dQt&boS{5$Q}5s#z7qwc&y*Wa=Mc^lvI(09XNpispfNp-?GaUEh;fa$yMW6ou@l z2q&ZYnc_MsJ8g%Ye+eI!c!^gS5>EVb2VSHIy;=vpNaCskC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gQ*>!0Yswp15sLkOEK4_Jkqbj50|=R zUn|!QL=})(6Rn2{!*i5Y`yJAr=rU52lAeEc z<mZ_df5(Jv#4NR+*8d^Eu*qak>m{P}-U3v3lJ1CQ_dyQd z36MRltB9_YnpA(%Bl-}?@f`#4wEiMmE$yB4moOWI491k~X`M!t-g{8_&i4O6+Sf~m z!%~4Ly>~%-jG5E^DZnr$l_mWGJcA z{+Pp_)|*5}zr_Cc4tw(zW$@S3rq3$NUfkN9YQLXbmu_Ep~6Kk-z+q6 Ky=+Ymmi-$HgX(wy literal 0 HcmV?d00001 diff --git a/pomo.c b/pomo.c index d3a84cb..1f4afb8 100644 --- a/pomo.c +++ b/pomo.c @@ -3,8 +3,8 @@ #include #include -#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[])