[DRun] Set the default for match fields in the config to the correct value.

This commit is contained in:
Dave Davenport 2017-12-31 14:13:48 +01:00
parent 101c4dcc26
commit 1aa79a9a06
4 changed files with 8 additions and 4 deletions

View File

@ -115,7 +115,7 @@ Settings config = {
.matching = "normal",
.matching_method = MM_NORMAL,
/** Desktop entry fields to match*/
.drun_match_fields = "all",
.drun_match_fields = "name,generic,exec,categories",
/** Window fields to match in window mode*/
.window_match_fields = "all",
/** Monitor */

View File

@ -403,10 +403,13 @@ When using drun, match only with the specified Desktop entry fields\. The differ
\fBcategories\fR: the application\'s categories
.
.IP "\(bu" 4
\fBcomment\fR: the application comment
.
.IP "\(bu" 4
\fBall\fR: all of the above
.
.IP
Default: \fIall\fR
Default: \fIname,generic,exec,categories\fR
.
.IP "" 0
.

View File

@ -234,9 +234,10 @@ The different fields are:
* **generic**: the application's generic name
* **exec**: the application's executable
* **categories**: the application's categories
* **comment**: the application comment
* **all**: all of the above
Default: *all*
Default: *name,generic,exec,categories*
`-window-match-fields` *field1*,*field2*,...

View File

@ -41,7 +41,7 @@ rofi.window-command: xkill -id {window}
! "Theme to use to look for icons" Set from: Default
! rofi.drun-icon-theme:
! "Desktop entry fields to match in drun" Set from: Default
! rofi.drun-match-fields: all
! rofi.drun-match-fields: name,generic,exec,categories
! "Disable history in run/ssh" Set from: File
rofi.disable-history: false
! "Use sorting" Set from: Default