pomodoroprompt/README.md

49 lines
1.3 KiB
Markdown
Raw Normal View History

# 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](https://packaging.python.org/guides/installing-using-linux-tools/) 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
```
2021-05-02 22:40:25 +00:00
mkdir -p ~/Projects/agaric/python
git clone git@gitlab.com:agaric/python/pomodoroprompt.git
cd pomodoroprompt
2020-10-07 18:47:58 +00:00
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`