diff options
author | Dave Davenport <DaveDavenport@users.noreply.github.com> | 2021-09-02 09:55:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 09:55:31 +0200 |
commit | 4b3f6f6767c92a62f8ff517b4fbac073f8b3449b (patch) | |
tree | 56febe2429dc5e876250a946757bc5b43999d5b1 /doc/rofi.1 | |
parent | 3f5d82ff56d092bb7701641e620b0158991f41f0 (diff) |
[I1405] Allow action to be taken on input change. (#1420)
Fixes: #1405
Diffstat (limited to 'doc/rofi.1')
-rw-r--r-- | doc/rofi.1 | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -1393,6 +1393,46 @@ To get a searchable list of key bindings, run \fB\fCrofi \-show keys\fR\&. .PP A key binding starting with \fB\fC!\fR will act when all keys have been released. +.PP +You can bind certain events to key\-actions: + +.SS Timeout +.PP +You can configure an action to be taken when rofi has not been interacted +with for a certain amount of seconds. You can specify a keybinding to trigger +after X seconds. + +.PP +.RS + +.nf +configuration { + timeout { + delay: 15; + action: "kb\-cancel"; + } +} + +.fi +.RE + +.SS Input change +.PP +When the input of the textbox changes: + +.PP +.RS + +.nf +configuration { + inputchange { + action: "kb\-row\-first"; + } +} + +.fi +.RE + .SH Available Modi .SS window .PP |