mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Better descriptions for sort options group
It's unobvious from documentation, that sort only works against filtered menu. Signed-off-by: Dave Davenport <qball@gmpclient.org>
This commit is contained in:
parent
c980139b7e
commit
81641d0f30
5 changed files with 56 additions and 56 deletions
|
@ -372,7 +372,7 @@ Toggle case sensitivity
|
||||||
|
|
||||||
.SS \fBkb-toggle-sort\fP
|
.SS \fBkb-toggle-sort\fP
|
||||||
.PP
|
.PP
|
||||||
Toggle sort
|
Toggle filtered menu sort
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fBDefault\fP: Alt+grave
|
\fBDefault\fP: Alt+grave
|
||||||
|
|
|
@ -299,7 +299,7 @@ Toggle case sensitivity
|
||||||
|
|
||||||
### **kb-toggle-sort**
|
### **kb-toggle-sort**
|
||||||
|
|
||||||
Toggle sort
|
Toggle filtered menu sort
|
||||||
|
|
||||||
**Default**: Alt+grave
|
**Default**: Alt+grave
|
||||||
|
|
||||||
|
|
59
doc/rofi.1
59
doc/rofi.1
|
@ -654,6 +654,30 @@ next keyword). Set to '\\x0' to disable.
|
||||||
.PP
|
.PP
|
||||||
Default: '-'
|
Default: '-'
|
||||||
|
|
||||||
|
.SS Filtered menu sort
|
||||||
|
.PP
|
||||||
|
\fB\fC-sort\fR to enable
|
||||||
|
.br
|
||||||
|
\fB\fC-no-sort\fR to disable
|
||||||
|
|
||||||
|
.PP
|
||||||
|
Enable, disable sort for filtered menu.
|
||||||
|
This setting can be changed at runtime (see \fB\fC-kb-toggle-sort\fR).
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\fC-sorting-method\fR 'method' to specify the sort method.
|
||||||
|
|
||||||
|
.PP
|
||||||
|
There are 2 methods:
|
||||||
|
|
||||||
|
.RS
|
||||||
|
.IP \(bu 2
|
||||||
|
\fBlevenshtein\fP (Default)
|
||||||
|
.IP \(bu 2
|
||||||
|
\fBfzf\fP
|
||||||
|
|
||||||
|
.RE
|
||||||
|
|
||||||
.SS Layout and Theming
|
.SS Layout and Theming
|
||||||
.PP
|
.PP
|
||||||
\fBIMPORTANT:\fP In newer \fBrofi\fP releases, all the theming options have been
|
\fBIMPORTANT:\fP In newer \fBrofi\fP releases, all the theming options have been
|
||||||
|
@ -744,14 +768,11 @@ When one entry is left, automatically select it.
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\fC-m\fR \fInum\fP
|
\fB\fC-m\fR \fInum\fP
|
||||||
|
.br
|
||||||
.PP
|
|
||||||
\fB\fC-m\fR \fIname\fP
|
\fB\fC-m\fR \fIname\fP
|
||||||
|
.br
|
||||||
.PP
|
|
||||||
\fB\fC-monitor\fR \fInum\fP
|
\fB\fC-monitor\fR \fInum\fP
|
||||||
|
.br
|
||||||
.PP
|
|
||||||
\fB\fC-monitor\fR \fIname\fP
|
\fB\fC-monitor\fR \fIname\fP
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
|
@ -893,6 +914,7 @@ Default: \fIdisabled\fP
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\fC-parse-known-hosts\fR
|
\fB\fC-parse-known-hosts\fR
|
||||||
|
.br
|
||||||
\fB\fC-no-parse-known-hosts\fR
|
\fB\fC-no-parse-known-hosts\fR
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
|
@ -1097,36 +1119,15 @@ Default: {mode} {text}
|
||||||
.PP
|
.PP
|
||||||
Note: This setting is ignored if \fB\fCcombi-hide-mode-prefix\fR is enabled.
|
Note: This setting is ignored if \fB\fCcombi-hide-mode-prefix\fR is enabled.
|
||||||
|
|
||||||
.SS History and Sorting
|
.SS History
|
||||||
.PP
|
.PP
|
||||||
\fB\fC-disable-history\fR
|
\fB\fC-disable-history\fR
|
||||||
|
.br
|
||||||
\fB\fC-no-disable-history\fR (re-enable history)
|
\fB\fC-no-disable-history\fR (re-enable history)
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
Disable history
|
Disable history
|
||||||
|
|
||||||
.PP
|
|
||||||
\fB\fC-sort\fR to enable
|
|
||||||
\fB\fC-no-sort\fR to disable
|
|
||||||
|
|
||||||
.PP
|
|
||||||
Enable, disable sorting.
|
|
||||||
This setting can be changed at runtime (see \fB\fC-kb-toggle-sort\fR).
|
|
||||||
|
|
||||||
.PP
|
|
||||||
\fB\fC-sorting-method\fR 'method' to specify the sorting method.
|
|
||||||
|
|
||||||
.PP
|
|
||||||
There are 2 sorting methods:
|
|
||||||
|
|
||||||
.RS
|
|
||||||
.IP \(bu 2
|
|
||||||
levenshtein (Default)
|
|
||||||
.IP \(bu 2
|
|
||||||
fzf sorting.
|
|
||||||
|
|
||||||
.RE
|
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\fC-max-history-size\fR \fInumber\fP
|
\fB\fC-max-history-size\fR \fInumber\fP
|
||||||
|
|
||||||
|
|
|
@ -416,6 +416,21 @@ next keyword). Set to '\x0' to disable.
|
||||||
|
|
||||||
Default: '-'
|
Default: '-'
|
||||||
|
|
||||||
|
### Filtered menu sort
|
||||||
|
|
||||||
|
`-sort` to enable
|
||||||
|
`-no-sort` to disable
|
||||||
|
|
||||||
|
Enable, disable sort for filtered menu.
|
||||||
|
This setting can be changed at runtime (see `-kb-toggle-sort`).
|
||||||
|
|
||||||
|
`-sorting-method` 'method' to specify the sort method.
|
||||||
|
|
||||||
|
There are 2 methods:
|
||||||
|
|
||||||
|
- **levenshtein** (Default)
|
||||||
|
- **fzf**
|
||||||
|
|
||||||
### Layout and Theming
|
### Layout and Theming
|
||||||
|
|
||||||
**IMPORTANT:** In newer **rofi** releases, all the theming options have been
|
**IMPORTANT:** In newer **rofi** releases, all the theming options have been
|
||||||
|
@ -476,11 +491,8 @@ Default: *1*
|
||||||
When one entry is left, automatically select it.
|
When one entry is left, automatically select it.
|
||||||
|
|
||||||
`-m` *num*
|
`-m` *num*
|
||||||
|
|
||||||
`-m` *name*
|
`-m` *name*
|
||||||
|
|
||||||
`-monitor` *num*
|
`-monitor` *num*
|
||||||
|
|
||||||
`-monitor` *name*
|
`-monitor` *name*
|
||||||
|
|
||||||
Select monitor to display **rofi** on. It accepts as input: *primary* (if
|
Select monitor to display **rofi** on. It accepts as input: *primary* (if
|
||||||
|
@ -708,26 +720,13 @@ Default: {mode} {text}
|
||||||
|
|
||||||
Note: This setting is ignored if `combi-hide-mode-prefix` is enabled.
|
Note: This setting is ignored if `combi-hide-mode-prefix` is enabled.
|
||||||
|
|
||||||
### History and Sorting
|
### History
|
||||||
|
|
||||||
`-disable-history`
|
`-disable-history`
|
||||||
`-no-disable-history` (re-enable history)
|
`-no-disable-history` (re-enable history)
|
||||||
|
|
||||||
Disable history
|
Disable history
|
||||||
|
|
||||||
`-sort` to enable
|
|
||||||
`-no-sort` to disable
|
|
||||||
|
|
||||||
Enable, disable sorting.
|
|
||||||
This setting can be changed at runtime (see `-kb-toggle-sort`).
|
|
||||||
|
|
||||||
`-sorting-method` 'method' to specify the sorting method.
|
|
||||||
|
|
||||||
There are 2 sorting methods:
|
|
||||||
|
|
||||||
- levenshtein (Default)
|
|
||||||
- fzf sorting.
|
|
||||||
|
|
||||||
`-max-history-size` *number*
|
`-max-history-size` *number*
|
||||||
|
|
||||||
Maximum number of entries to store in history. Defaults to 25. (WARNING: can
|
Maximum number of entries to store in history. Defaults to 25. (WARNING: can
|
||||||
|
|
|
@ -232,13 +232,13 @@ static XrmOption xrmOptions[] = {
|
||||||
"sort",
|
"sort",
|
||||||
{.num = &config.sort},
|
{.num = &config.sort},
|
||||||
NULL,
|
NULL,
|
||||||
"Use sorting",
|
"Sort menu when filtered",
|
||||||
CONFIG_DEFAULT},
|
CONFIG_DEFAULT},
|
||||||
{xrm_String,
|
{xrm_String,
|
||||||
"sorting-method",
|
"sorting-method",
|
||||||
{.str = &config.sorting_method},
|
{.str = &config.sorting_method},
|
||||||
NULL,
|
NULL,
|
||||||
"Choose the strategy used for sorting: normal (levenshtein) or fzf.",
|
"Choose sort strategy: normal (levenshtein) or fzf.",
|
||||||
CONFIG_DEFAULT},
|
CONFIG_DEFAULT},
|
||||||
{xrm_Boolean,
|
{xrm_Boolean,
|
||||||
"case-sensitive",
|
"case-sensitive",
|
||||||
|
|
Loading…
Reference in a new issue