WayfireWM / WayfireWM/wayfire

Extend Hotspot Functionality to Support Button Presses

Open
#2,650 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted low-priority PRs-welcome
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.