"What'd you do?" and "What're you gonna do?" dialog prompts that both pre-fill with whatever you put in for the last of either prompt at the end and start of every pomodoro work session, respectively.
Find a file
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
log Add log folder and a README to keep it 2020-07-06 07:15:04 -04:00
.gitignore Ignore only log files in the log folder 2020-07-06 07:15:56 -04:00
pomodoroprompt.py Add note about what first line should be for timelog parser script 2021-05-02 12:02:23 -04:00
prompt_window.py Bring triggers to actually show window into main function 2021-05-02 12:11:53 -04:00
README.md Update requirements/notes re: python3 2020-10-07 16:12:03 -04:00
requirements.txt OK installing gi directly doesn't work but PyGObject does for me at least 2020-12-11 11:31:16 -05:00

Pomodoro Prompt

"What'd you do?" and "What're you gonna do?" dialog prompts that both pre-fill with whatever you put in for the last of either prompt at the end and start of every pomodoro work session, respectively.

Requirements

  • Python 3
  • pip for Python3

NOTE: Instructions are written with the assumption that the command python points to the python3 interpreter. If python --version reports a 2.x version, you should substitute python3 in the commands using python below.

Installation

mkdir -p ~/Projects/agaric/
git clone git@gitlab.com:agaric/pomodoroprompt.git
cd pomodoroprompt
python -m pip install --user -r requirements.txt

Usage

cd ~/Projects/agaric/pomodoroprompt/
python pomodoroprompt.py

See the logs/ folder for daily, one-pomodoro-at-a-time time logs.

Desired improvements

Too many to write down. Suggest your own:

https://gitlab.com/agaric/pomodoroprompt/-/issues

Troubleshooting

If you run python pomodoroprompt.py and get:

  File "pomodoroprompt.py", line 85
    print('\r', str_minutes(to_go), sep='', end='')
                                       ^
SyntaxError: invalid syntax

You need to specify Python 3: python3 pomodoroprompt.py