Commit graph

47 commits

Author SHA1 Message Date
0d39fb9e30 Switch to supported timezone since pytz suddenly ditched Pacific
File pomodoroprompt.py, line 56, in log_step
    timelog_file = Path(prepare_file(utc_start, ext='log', daily=True))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File pomodoroprompt.py, line 100, in prepare_file
    logpath_tz = timezone('US/Pacific')
                 ^^^^^^^^^^^^^^^^^^^^^^

pytz.exceptions.UnknownTimeZoneError: 'US/Pacific'

Like i'm pretty sure it's right there on the coast but if calling it Los Angeles sooths you cool.
2023-09-25 14:56:22 -04:00
1d0c87e2ab Make playing sound dependencies only used if wanted 2022-12-21 08:27:59 -05:00
c04f849161 Set path for logfiles to be near home, not whereever run from 2021-05-23 00:35:39 -04:00
mlncn
cebfc35a20 Remove duplicate .log on filename 2021-05-02 19:19:57 -04:00
mlncn
13f193bb13 Keep names short and consistent 2021-05-02 18:27:25 -04:00
mlncn
f18250fac9 Fix typo 2021-05-02 17:51:08 -04:00
mlncn
810712166d Enhanced directory-creating, CSV-header initializing still-seems-to-work 2021-05-02 17:27:50 -04:00
mlncn
fede7fabe2 Concatenate the same way and probably avoid extra space 2021-05-02 16:58:52 -04:00
mlncn
321c0832dc Ensure feedback on what working on gets own line 2021-05-02 16:57:54 -04:00
mlncn
926af1ed48 Rotate csv annually, put it in log directory with backup text log 2021-05-02 16:57:06 -04:00
mlncn
308a284fce Remove another bit made unnecessary by our reset button 2021-05-02 16:43:33 -04:00
mlncn
270c999b83 Remove 'would be better to write own interface' because now i did 2021-05-02 16:41:23 -04:00
mlncn
41a5cd0a1d Remove addition of whatdid to title since we have reset button now 2021-05-02 16:39:27 -04:00
mlncn
03eee50e43 Finish conversion to GTK prompt from zenipy 2021-05-02 16:31:36 -04:00
mlncn
f856241c80 Switch to our function but it doesn't solve freezing issue 2021-05-02 13:01:42 -04:00
mlncn
e1ac2ef49b Start to replace zenipy with our promptwindow script, but called this way it hangs
Like it has to be force quit.  No entiendo.
2021-05-02 12:58:16 -04:00
mlncn
445aa1d8c5 Add whatnext (intention) to CSV log now that we have sophisticated analysis capabilities 2021-05-02 12:16:52 -04:00
mlncn
1d07fe08b9 Add note about what first line should be for timelog parser script 2021-05-02 12:02:23 -04:00
benjamin melançon
8b4e5db9a5 Give up on title dialogs in popOS (grr) and put title in text 2020-11-07 21:13:06 -05:00
benjamin melançon
36b300f393 Change quiet default to true since it breaks if no sound file 2020-10-23 12:38:52 -04:00
Christopher Thompson
8b7d80d318 Add quiet option 2020-10-10 00:20:18 -04:00
Christopher Thompson
dd3031fcc3 Factor out countdown timer (and add another docstring) 2020-10-10 00:14:22 -04:00
Christopher Thompson
4e39644b00 Wrap long line 2020-10-10 00:13:40 -04:00
Christopher Thompson
5bcad6a305 Add more docstrings and improve quit_prompt 2020-10-10 00:13:16 -04:00
Christopher Thompson
14e136f80c Add audio prompt for times up 2020-10-09 23:44:46 -04:00
benjamin melançon
168cc371cb Write human-readable log in Eastern Time 2020-07-15 10:09:58 -04:00
benjamin melançon
8b8d759281 Set work and break minutes to real values 2020-07-06 09:40:55 -04:00
benjamin melançon
cc94fab95f Don't try to record pomodoro if we're in a break (start set to none)
Also talk a bit more in the CLI, more feedback
2020-07-06 09:40:08 -04:00
benjamin melançon
bbf11c1bb1 If less than a minute, go straight to quit prompt without offer to record partial time 2020-07-06 09:29:28 -04:00
benjamin melançon
ce5146b70b Add a break following a completed pomodoro 2020-07-06 09:28:57 -04:00
benjamin melançon
d7e9c6c2ef Use central string minutes formatting function in more places 2020-07-06 09:27:57 -04:00
benjamin melançon
5d5280cab2 Tweak outputted terminology 2020-07-06 09:27:34 -04:00
benjamin melançon
fd9128bd5e Remove unneeded default value 2020-07-06 09:27:00 -04:00
benjamin melançon
e7ff2c7642 Add minimum time for interrupted to be recorded & document our constants 2020-07-06 09:26:43 -04:00
benjamin melançon
33390b74b7 If keyboard interrupt (control c) is used, give quit prompt even if record that last partial pomodoro 2020-07-06 08:52:08 -04:00
benjamin melançon
cb333c4bc5 Fix linebreaks 2020-07-06 08:48:24 -04:00
benjamin melançon
da3426e196 Run function once for cleaner statements 2020-07-06 08:45:43 -04:00
benjamin melançon
42191e8927 Get our log-writing on 2020-07-06 08:43:56 -04:00
benjamin melançon
ee762c15a2 Fix appending to CSV and start working on detailed log 2020-07-05 23:40:12 -04:00
benjamin melançon
57ec262f7d Add the ability to quit gracefgully if no longer tracking time 2020-07-05 21:45:53 -04:00
benjamin melançon
501784c562 Fix missing info for when interrupting pomodoro 2020-07-05 20:50:42 -04:00
benjamin melançon
62560ad8db Put everything in a loop and try continue to not ever end up in the else? 2020-07-05 19:22:29 -04:00
benjamin melançon
059956c589 Use most recent plan/task for placeholder, and make sure we always return a string 2020-07-05 19:05:40 -04:00
benjamin melançon
3e8c348fe1 Should be working! 2020-07-05 16:00:19 -04:00
benjamin melançon
3d097e6084 Definitely a logic & more error in here, but we're close 2020-07-05 15:41:04 -04:00
benjamin melançon
3d2e85f2be Throw in a couple working prompts, no variables yet 2020-07-05 13:26:38 -04:00
benjamin melançon
232a94497a Start fumbling our way into a script 2020-07-05 12:55:18 -04:00