Extend Hotspot Functionality to Support Button Presses
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.1k
- Forks
- 237
- Avg merge
- 1h 43m
- Merged PRs (30d)
- 1
Description
Dear Wayfire developers,
I would like to suggest an enhancement to the existing hotspot feature in Wayfire.
Currently, hotspots can be activated only after the cursor remains in a defined area for a specified duration.
I propose allowing mouse or key presses to act as an alternative trigger mechanism. For example:
hotspot top-right 1x1 BTN_RIGHT
This would mean the hotspot is triggered when the right mouse button is pressed while the pointer is in that region (without requiring a timeout).
Additionally, it would be great to support hotspots along all four screen edges (top, bottom, left, and right), not just in the corners.
This functionality would also closely resemble the edge and corner actions available in Compiz.
Thank you for your time and for your excellent work on Wayfire!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Wayfire's existing hotspot implementation and the configuration parsing for hotspot definitions. Determine how timeout activation and corner regions are currently handled, then verify the requested button or key triggers and top, bottom, left, and right edge regions against the example syntax and existing hotspot behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100