Skip to content

Lua API and scripts #35

@dawsers

Description

@dawsers

Since 6a97635 there is a Lua API and lua command to provide scripting abilities to scroll.

Using the command lua you can run Lua scripts that access window manager properties, execute commands or add callbacks to window events.

You can assign scripts to keyboard bindings, or add them to your configuration for execution when the configuration loads.

I opened this issue for feedback, suggestions on how to improve the API, or cool scripts you created that are using the API. Once the API is mature, I will add it to scroll stable.

Feel welcome to share any ideas or missing APIs you'd like to have.

To read more about the API, man 5 scroll and search for the LUA section.

Below some scripts included in the README

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions