-
Notifications
You must be signed in to change notification settings - Fork 90
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
Configurable polling? #12
Comments
1 second was chosen as a balance between catching everything (if you copy two things within 1 second, probably the first one was a mistake) and keeping wakeups low. If you can convince me that there's some legitimate reason to change it, then sure. I'm not sure what that would be, though. |
Isn't there an inotifywait equivalent for clipboard changes? That would be the sane way forward. :) |
If you think the X spec is sane and would include such a thing, you'd be sadly mistaken. As far as I know the X clipboard provides no notify interface (which would be required for that), hence the sleep. |
Well my personal use case was that I needed/wanted to reduce the sleep to .5 since I was copying and switching windows pretty quickly with key bindings and several times my selection hadn't made it to /tmp yet. Not a huge deal, but @ .5 it hasn't happened since. Obviously that would be too much for some people; hence, the configuration (with a default of 1). |
Let me do some profiling and see what the performance impact of reducing the sleep would be. |
@cdown thanks |
I was wondering if allowing the polling interval of
clipmenud
to be configured was within the scope of this project?Currently I have:
Your thoughts?
The text was updated successfully, but these errors were encountered: