You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
LICENSE | 1 year ago | |
README.md | 1 year ago | |
init.lua | 1 year ago |
README.md
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.