Commit graph

58 commits

Author SHA1 Message Date
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
02cf152ecb Add crucial destroy() otherwise window stays there, nonresponsive, until script killed
i just hadn't noticed in the standalone script because the script did in fact end, but when called
from pomodoroprompt.py itself, which keeps running, the window hung, froze, freezed, broke, was a
problem.  And i thought it was somehow because it was called from another file or program but really
it was just this missing destroy that is somehow not in many examples.
2021-05-02 15:09:19 -04:00
mlncn
f856241c80 Switch to our function but it doesn't solve freezing issue 2021-05-02 13:01:42 -04:00
mlncn
b1c36fd82b Add a functional function to see if we can isolate problem with including
Maybe it's the object?
2021-05-02 12:59:26 -04:00
mlncn
494b454c45 Take prompt and set title if prompt provided 2021-05-02 12:58:52 -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
9a8be46f8a Bring triggers to actually show window into main function
Well, init function.  Point is our calling program shouldn't have to think
about windows showing all or GTK main anything!

The main trick mentioned last commit wasn't this call to Gtk.main() but rather
the if __name__ == '__main__' bit.
2021-05-02 12:11:53 -04:00
mlncn
596bf7e6a0 Prepare for being a helper script and stop messing with it
The 'main' trick is cool, all that stuff within it only happens if it's called
directly.
2021-05-02 12:04:02 -04:00
mlncn
1d07fe08b9 Add note about what first line should be for timelog parser script 2021-05-02 12:02:23 -04:00
mlncn
d4edd49862 Provide a reset button where, if there was text to start out with, in case it was accidentally overwritten 2021-05-02 11:32:18 -04:00
mlncn
67ff99afe1 Demonstration of how to get the value as we don't want actual saving done in this script 2021-05-02 11:19:36 -04:00
mlncn
5792d1e6a5 Add an OK button! 2021-05-01 14:44:20 -04:00
mlncn
0def577866 Here we can actually retrieve what is written on enter 2021-05-01 13:13:12 -04:00
mlncn
d1bc9d62fa Start a file for refactoring prompts to bypass zenipy, use Gtk 2021-05-01 12:48:32 -04:00
benjamin melançon
382fb4d79a OK installing gi directly doesn't work but PyGObject does for me at least 2020-12-11 11:31:16 -05:00
benjamin melançon
0a99a1dfdb Add the gi library that zenipy seems to need
Also, restore alphabetical order.
2020-12-11 11:24:36 -05: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
benjamin melançon
066794e197 Remove AI-personalized prompt 2020-10-22 14:30:18 -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
Chris Thompson
161be7de88 Update requirements/notes re: python3
It's all Keegan's fault ;-)
2020-10-07 16:12:03 -04:00
Chris Thompson
9bb45e02bc Change recommended pip install command 2020-10-07 14:47:58 -04:00
benjamin melançon
168cc371cb Write human-readable log in Eastern Time 2020-07-15 10:09:58 -04:00
benjamin melançon
eeeb841a15 Add desired improvements (link to issues) and troubleshooting (no, really, use python3)
to readme
2020-07-06 12:29:20 -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
b2d774911f Add terrible README (it was easier for me to build than describe in the first place...) 2020-07-06 07:35:39 -04:00
benjamin melançon
7e5aa409e3 Ignore only log files in the log folder 2020-07-06 07:15:56 -04:00
benjamin melançon
aab4aeeb36 Add log folder and a README to keep it 2020-07-06 07:15:04 -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