-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with multiple bars #3
Comments
Hi @destinationunknown, this is intentional and by design. The plugin implements a minimal server/client interface with communication happening through a socket. Technically, it's possible to add an additional command-line argument to identify each client/server to support running multiple independent polypomo instances, but this was never something I felt necessary. In the pomodoro technique you are supposed to focus on a single task at a time and therefore have only one timer running. To have two widgets accessing a single "server" a completely different interface would be necessary and I found this would complicate the use of the plugin too much. A workaround is to use:
and then manually launch This approach has the problem that the Hope this clarifies why the plugin works the way it does and why this limitation exists. |
Thanks for the great response. I was indeed looking for ways to access the same server from multiple clients, not have multiple client/server instances running. The named pipe approach looks like a good fix, do you know if it is possible to increase the rate of alternation? If it alternated twice a second it seems it would be good enough for my needs. |
Given two clients A and B, alternation is always ABABAB. Line 187 in 5978abb
You can roughly divide this number by the number of clients, rounded down. |
Thanks, will check this out. |
When using this module and starting multiple instances of the same bar (on two different monitors), the module displays "Received exit request" and this switches between the two bars every couple of seconds.
The text was updated successfully, but these errors were encountered: