Simple long-press button wrapper for awesomewm
Go to file
Izaya 317a2d789f import 2022-08-25 13:27:11 +10:00
LICENSE import 2022-08-25 13:27:11 +10:00 import 2022-08-25 13:27:11 +10:00
init.lua import 2022-08-25 13:27:11 +10:00


A simple long-press module for awesomewm, designed for use with touchscreens.


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.