From f3b14b46c3a34b825a043e01903b45e1e3045568 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 8 Feb 2022 18:54:07 +0100 Subject: [PATCH] Document long keypresses triggering action_hold --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9ef83a..921b315 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,9 @@ background = "/some/image.png" ### Actions -You can hook up any key with several actions: +You can hook up any key with several actions. A regular keypress will trigger +the widget's configured `keys.action`, while holding the key will trigger +`keys.action_hold`. #### Switch deck @@ -330,7 +332,7 @@ A list of available `keycodes` can be found here: [keycodes](https://github.com/ ```toml [keys.action] - paste = "a text" + paste = "some text" ``` #### Trigger a dbus call