-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
Add Touchpad widget #4652
Add Touchpad widget #4652
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. I don't have any particular objections to including in the main repo but have made some comments.
I would like to include a test for this widget, particularly to test the use of custom get/set_state_func
functions.
893dbfb
to
76fb72b
Compare
I've added unit tests, updated everything and tested if it works. Everything looks good. |
You need to ignore the widget in this test: qtile/test/widgets/test_widget_init_configure.py Lines 60 to 62 in 2b5ad3c
|
Looks like it's only a
|
If you can get it to work with the override, that's better. |
Should be good now. Are there any other tests that run on all widgets? I only checked the ones I've added, not the entire suite |
One other thought, does this work in Wayland? |
The default functions probably not. I don't really have a way to test it. |
Ok. Pinging @jwijenbergh to see if he knows if it can be done on Wayland. If not, you can set |
I suppose I could use I'll test it tomorrow. |
I've added X11 as the only supported backend. If you are OK with it, I would like to close this PR. I can create a new one, with Wayland support later, but I need to prepare my environment first and look into how it all works on Wayland. |
Is there anything else I should add/change @elParaguayo ? |
This PR is stale because it has been open 90 days with no activity. Remove the |
A widget that shows touchpad state and allows to toggle it with mouse click or keybind.
What are your thoughts?