Conversation
|
I feel like this is out of scope for expo, but here is how you can implement this: use IPC :) Instead of defining a keyboard shortcut in the config file to start expo, bind that key to your script. You can even create the binding from within the script, the command plugin supports that. Once in your script, you can check the focused window against any criteria you want, and optionally call toggle_expo. |
|
Nonetheless, thanks for the PR :) Let me know if you need any help with the IPC approach. If you have opencode or any other agentic AI tool, I am sure they can figure it out if you point them to the pywayfire repo. |
|
Why would I need the IPC approach? I implemented the option in the plugin and it literally works as expected already. The PR was to make other users profit from it if they ever need it, without the need to go through the burden of writing yet another IPC script for it. |
I understand that, but consider what would happen if we decided to upstream every little feature or tweak any Wayfire user needed. This particular toggle seems very niche, and given that there are other ways to achieve the same effect, I find it better to not clutter upstream with options. That being said, I am curious about your use case here - why do you need this option? |
|
I believe the default is The XML could be modified to place the option at the bottom to avoid messing with what was already there if you want. |
|
@vdegenne I use vinagre as a vnc client and it captures input if the mouse is over the window. I know it's a long shot but you might be able to request this feature in blender, especially since it has many custom input actions. |
This PR just adds an option to prevent the toggle shortcut to trigger in certain windows.