awesome-longpress/README.md

17 lines
478 B
Markdown

# awesome-longpress
A simple long-press module for awesomewm, designed for use with touchscreens.
## Usage
`longpress.add(button, normfunc, lpfunc)`
Add a long-press action to an (unconfigured) button. Adding actions to an existing button can cause strange behavior.
- `button`: the button to add actions to.
- `normfunc`: The short-press action.
- `lpfunc`: The long-press action.
## Configuration variables
- `longpress.timeout = 1`: The minimum length of a long press.