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.markdown | |
parent | 3f5d82ff56d092bb7701641e620b0158991f41f0 (diff) |
[I1405] Allow action to be taken on input change. (#1420)
Fixes: #1405
Diffstat (limited to 'doc/rofi.1.markdown')
-rw-r--r-- | doc/rofi.1.markdown | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown index e1b070a1..5113f14c 100644 --- a/doc/rofi.1.markdown +++ b/doc/rofi.1.markdown @@ -838,6 +838,36 @@ To get a searchable list of key bindings, run `rofi -show keys`. A key binding starting with `!` will act when all keys have been released. +You can bind certain events to key-actions: + +### Timeout + +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. + +```css +configuration { + timeout { + delay: 15; + action: "kb-cancel"; + } +} +``` + +### Input change + +When the input of the textbox changes: + +```css +configuration { + inputchange { + action: "kb-row-first"; + } +} +``` + + ## Available Modi ### window |