Simple long-press button wrapper for awesomewm
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.
Izaya 317a2d789f import 1 year ago
LICENSE import 1 year ago
README.md import 1 year ago
init.lua import 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.