Skip to content

Commit

Permalink
Document long keypresses triggering action_hold
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Feb 8, 2022
1 parent 8e7931c commit f3b14b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f3b14b4

Please sign in to comment.