Skip to content

Snowcap widgets

Snowcap is a very, very WIP widget system I'm building for Pinnacle.

It is currently used to render the bind overlay and quit prompt.

Bind overlay

The bind overlay displays all bindings set along with their descriptions, grouped by their group.

Bind overlay

To show the bind overlay, do the following:

lua
require("pinnacle.snowcap").integration.bind_overlay():show()

Quit prompt

The quit prompt asks you to press ENTER before Pinnacle quits.

Quit prompt

To show the quit prompt, do the following:

lua
require("pinnacle.snowcap").integration.quit_prompt():show()

Both widgets have a few knobs that can be set. See the API reference for details.