summaryrefslogtreecommitdiffstats
path: root/doc/rofi.1
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
parentd786129fd125ebce4116b6b7dcc9ef434c66d073 (diff)
[filebrowser] Add option to return 1 on cancel.
Fixes: #1732
Diffstat (limited to 'doc/rofi.1')
-rw-r--r--doc/rofi.114
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index d99e8f26..bf050441 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -1155,6 +1155,8 @@ configuration {
directories-first: true;
/** Show hidden files. */
show-hidden: false;
+ /** return 1 on cancel. */
+ cancel-returns-1: true;
}
}
@@ -1162,6 +1164,18 @@ configuration {
.RE
.PP
+These options can also be passed on the commandline, for example:
+
+.PP
+.RS
+
+.nf
+rofi -filebrowser-cancel-returns-1 true -show filebrowser
+
+.fi
+.RE
+
+.PP
The \fB\fCshow-hidden\fR can also be triggered with the \fB\fCkb-delete-entry\fR keybinding.
.SS Other