From 3d2e85f2beff7c92cad4c3c756c956d7174d4ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 5 Jul 2020 13:26:38 -0400 Subject: [PATCH] Throw in a couple working prompts, no variables yet --- pomodoroprompt.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pomodoroprompt.py b/pomodoroprompt.py index 27427ac..22115f3 100644 --- a/pomodoroprompt.py +++ b/pomodoroprompt.py @@ -10,14 +10,21 @@ SHORT_MIN = 5 LONG_MIN = 15 +def pomodoro_prompt_plan(whatdid = ''): + whatnext = zenipy.zenipy.entry(text="What're you gonna do?", placeholder='Same thing i did last time', title='Pomodoro Prompt: Plan') + +def pomodoro_prompt_report(whatnext): + whatdid = zenipy.zenipy.entry(text="What'd you do?", placeholder='What i said i would do', title='Pomodoro Prompt: Report') def main(): - timelog = Path('timelog.csv') - timelog.touch(exist_ok=True) - with timelog.open('r+') as f: - pp = PomodoroPrompt(timelog=f) + whatnext = pomodoro_prompt_plan() + + # timelog = Path('timelog.csv') + # timelog.touch(exist_ok=True) + # with timelog.open('r+') as f: + # pp = PomodoroPrompt(timelog=f) if __name__ == '__main__': main()