terminal pomodoro app for nextcloud deck cards.
sudo apt-get install -y python3-dev libasound2-dev
pip install telegram-send rich seaborn matplotlib pyalsaaudio tqdm simpleaudio
conda install -c conda-forge python-decouple
put your sound (notification) files in sound directory. set your filenames in constants.json
.
create a file named .env
and put the following configuration.
username = '<nextcloud user name>'
password='<nextcloud account password>'
base_url='https://<nextcloud url>/index.php/apps/deck/api/v1.0/boards'
storage_dir='<location of config directory with respect to home directory>'
config_dir='<location of cloned directory with respect to home directory>'
constant_var='constants.json'
pomodoro.py -h
when: C-c
during pomodoro is running
if you choose to continue the interval/pause will be counted as following table
pomodoro | consecutiveInterval |
---|---|
-2 | -2 |
if delay is longer to switch to break / pomodoro, the delay will be counted as extra session following previous session
pomodoro | type |
---|---|
-1 | <previous session> |
pomodoro, short_break, long_break |