diff options
author | Dave Davenport <qball@blame.services> | 2022-03-02 22:06:04 +0100 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-03-02 22:06:04 +0100 |
commit | 497d18d108bb6e810c61ef07d864514fca323474 (patch) | |
tree | 2da614fc4f3586b5dcdd475daf1c06162775501c /doc/rofi-script.5.markdown | |
parent | 1d4a8227b2e7aa50a73d08d29cd78f3a6fa2b025 (diff) |
[Script] Support a data option that get passed to next execution.
fixes: #1601
Diffstat (limited to 'doc/rofi-script.5.markdown')
-rw-r--r-- | doc/rofi-script.5.markdown | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/rofi-script.5.markdown b/doc/rofi-script.5.markdown index 202737fd..d3482c86 100644 --- a/doc/rofi-script.5.markdown +++ b/doc/rofi-script.5.markdown @@ -63,6 +63,10 @@ An integer number with the current state: Environment get set when selected entry get set with the property value of the 'info' row option, if set. +### `ROFI_DATA` + +Environment get set when script sets `data` option in header. + ## Passing mode options Extra options, like setting the prompt, can be set by the script. @@ -84,6 +88,7 @@ The following extra options exists: * **delim**: Set the delimiter for for next rows. Default is '\n' and this option should finish with this. Only call this on first call of script, it is remembered for consecutive calls. * **no-custom**: If set to 'true'; only accept listed entries, ignore custom input. * **use-hot-keys**: If set to true, it enabled the Custom keybindings for script. Warning this breaks the normal rofi flow. + * **data**: Passed data to the next execution of the script via **ROFI_DATA**. ## Parsing row options |