Skip to content

Show actions as buttons under text - #650

Open
layus wants to merge 1 commit into
emersion:masterfrom
layus:inline-action-buttons
Open

Show actions as buttons under text#650
layus wants to merge 1 commit into
emersion:masterfrom
layus:inline-action-buttons

Conversation

@layus

@layus layus commented Jun 27, 2026

Copy link
Copy Markdown

Here is another feature I have been using for a few days and found quite useful:

Each requested action is now drawn as a clickable button beneath the notification body: a left click on a button invokes that action and a right click anywhere dismisses, per the existing default bindings. Buttons are suppressed when on-button-left is bound to invoke-default-action, which keeps the old behaviour of clicking the body to fire the default action; accordingly the default left binding is changed to none. Documented in mako.5.scd under the bindings and actions options.

image

Each requested action is drawn as a clickable button below the body; a left click invokes that action and a right click dismisses. Buttons are suppressed when on-button-left is bound to invoke-default-action, which restores the old click-the-body behaviour. The default left binding is changed to none accordingly.
@layus layus changed the title Draw inline action buttons beneath notifications Show actions as buttons under text Jun 27, 2026
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