Skip to content

Home: its action comes from the button, not a key binding - #86

Merged
henrikklee merged 2 commits into
mainfrom
home-from-device
Nov 19, 2026
Merged

henrikklee merged 2 commits into
mainfrom
home-from-device

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

Home sometimes did nothing: the press reached the system (omarchy-powerd logged it), but labwc's Home binding did not run, e.g. with any modifier held. Now omarchy-powerd, which reads the button itself, starts omarchy-home-button when Home is let go after a press alone on a lit screen. Nothing between the button and the action can swallow it, and every press is logged.

  • A press that woke the screen or was half of Home + Power starts nothing, as before; the script leaves a locked session alone.
  • The script no longer asks omarchy-powerd about the press (no round trip, no verdict files).
  • labwc's binding only keeps the key from the focused app (a browser would go to its home page).
  • A migration updates existing ~/.config/labwc/rc.xml; with the old binding the script would run twice (a double press).

Tested in the simulator (iPhone 7): locked press does nothing, single press opens and closes the launcher, Shift+Home opens the launcher, double press opens the overview and Home closes it, Home closes the control center (with the #84 script). Not yet on J71b.

labwc ran omarchy-home-button from an XF86HomePage binding, which matches
only with no modifier held and only while labwc's input is in its normal
mode; when it did not match, the press reached the system (omarchy-powerd
logged it) and nothing happened. omarchy-powerd reads the button itself:
Home let go after a press alone on a lit screen now starts
omarchy-home-button in the session at once. A press that woke the screen
or was half of Home + Power starts nothing, as before, and the script
leaves a locked session alone. The script no longer asks omarchy-powerd
about the press (no round trip, no verdict files), and labwc's binding
only keeps the key from the focused app.

A migration updates an existing ~/.config/labwc/rc.xml: with the old
binding left, the script would run twice and read as a double press.

Assisted-by: LLM
@henrikklee
henrikklee merged commit da996ce into main Nov 19, 2026
9 checks passed
@henrikklee
henrikklee deleted the home-from-device branch November 19, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant