From ee80c8487f9765b1e6e8ab8219a6baea089cf5af Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sun, 11 Jun 2023 17:49:29 +0200 Subject: [PATCH] [recursivebrowser] Update manpage. --- doc/rofi.1 | 20 ++++++++++++++++++++ doc/rofi.1.markdown | 15 +++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/doc/rofi.1 b/doc/rofi.1 index 832f5ff9..2b9e9a72 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -1191,6 +1191,26 @@ rofi -filebrowser-cancel-returns-1 true -show filebrowser .PP The \fB\fCshow-hidden\fR can also be triggered with the \fB\fCkb-delete-entry\fR keybinding. +.SS Recursive Browser settings +.PP +Recursive file browser behavior can be controlled via the following options: + +.PP +.RS + +.nf +configuration { + recursivebrowser { + /** Directory the file browser starts in. */ + directory: "/some/directory"; + /** return 1 on cancel. */ + cancel-returns-1: true; + } +} + +.fi +.RE + .SS Entry history .PP The number of previous inputs for the entry box can be modified by setting diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown index 6801c102..5aeec082 100644 --- a/doc/rofi.1.markdown +++ b/doc/rofi.1.markdown @@ -777,6 +777,21 @@ rofi -filebrowser-cancel-returns-1 true -show filebrowser The `show-hidden` can also be triggered with the `kb-delete-entry` keybinding. +### Recursive Browser settings + +Recursive file browser behavior can be controlled via the following options: + +```css +configuration { + recursivebrowser { + /** Directory the file browser starts in. */ + directory: "/some/directory"; + /** return 1 on cancel. */ + cancel-returns-1: true; + } +} +``` + ### Entry history The number of previous inputs for the entry box can be modified by setting