Skip to main content

1.2.17 — Window close notification

What changed

"Press <key> to open" toast on window hide

When the WindUI menu is toggled closed, a notification now fires telling the user which key to press to reopen it:

Press RightControl to open

The key name is read automatically from toggle_key in your layout.rblua, so it always matches whatever key you have configured.

How it works

SetToggleKey (previously a no-op in the WindUI adapter) now stores the key name when the layout initialises. ToggleWindow tracks open/closed state and fires the toast via Pulse.Notify whenever the window transitions to hidden.

No changes to layout.rblua or any component files are needed — this works automatically for all WindUI projects.