summaryrefslogtreecommitdiffstats
path: root/doc/rofi.1.markdown
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2023-01-06 11:54:43 +0100
committerDave Davenport <qball@blame.services>2023-01-06 11:54:43 +0100
commit5a29565fc88e350019a8159ae054a4c36b407983 (patch)
treec20e9e4b3c53ea79a40ec5dc34f9e6d1168f72b1 /doc/rofi.1.markdown
parentd786129fd125ebce4116b6b7dcc9ef434c66d073 (diff)
[filebrowser] Add option to return 1 on cancel.
Fixes: #1732
Diffstat (limited to 'doc/rofi.1.markdown')
-rw-r--r--doc/rofi.1.markdown8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index dc1bde35..50838919 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -710,10 +710,18 @@ configuration {
directories-first: true;
/** Show hidden files. */
show-hidden: false;
+ /** return 1 on cancel. */
+ cancel-returns-1: true;
}
}
```
+These options can also be passed on the commandline, for example:
+
+```bash
+rofi -filebrowser-cancel-returns-1 true -show filebrowser
+```
+
The `show-hidden` can also be triggered with the `kb-delete-entry` keybinding.
### Other