Open kaiec opened 5 years ago
Oops, I wasn't aware that the PR gets closed when I delete my branch. Now it is restored.
For my own cleanup, I merged some of the other PRs here with my extension, merged everything (including the linux feature branch) into master and updated README.md. So you could consider to merge back from my latest commit to get everything done at once :-)
Here is the link to the latest commit:
https://github.com/kaiec/pomodori-todo.txt/commit/523f3f26ad6673250abbc65234482c2df36aa4fe
Hi Andrea,
I use i3 as WM, and specifically i3blocks as status bar. i3blocks has the nice ability that a status update can be triggered by using unix process signals. This way, the current status has not to be polled constantly, especially not when not even a pomodori session is running.
So I implemented this signalling, based on environment variables. As you suggested in the code to use environment variables anyway, e.g. to configure the seconds, I decided to go for it and implemented the change for the seconds as well. This was actually a bigger change as you had 25 minutes hard-coded in the console output.
I also changed the default behaviour of pom. Without an action, now pom ls is invoked.
Things to consider:
Hope you like it.
Cheers,
Kai