1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

[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 = "normal",
.matching_method = MM_NORMAL, .matching_method = MM_NORMAL,
/** Desktop entry fields to match*/ /** Desktop entry fields to match*/
.drun_match_fields = "all", .drun_match_fields = "name,generic,exec,categories",
/** Window fields to match in window mode*/ /** Window fields to match in window mode*/
.window_match_fields = "all", .window_match_fields = "all",
/** Monitor */ /** 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 \fBcategories\fR: the application\'s categories
. .
.IP "\(bu" 4 .IP "\(bu" 4
\fBcomment\fR: the application comment
.
.IP "\(bu" 4
\fBall\fR: all of the above \fBall\fR: all of the above
. .
.IP .IP
Default: \fIall\fR Default: \fIname,generic,exec,categories\fR
. .
.IP "" 0 .IP "" 0
. .

View file

@ -234,9 +234,10 @@ The different fields are:
* **generic**: the application's generic name * **generic**: the application's generic name
* **exec**: the application's executable * **exec**: the application's executable
* **categories**: the application's categories * **categories**: the application's categories
* **comment**: the application comment
* **all**: all of the above * **all**: all of the above
Default: *all* Default: *name,generic,exec,categories*
`-window-match-fields` *field1*,*field2*,... `-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 ! "Theme to use to look for icons" Set from: Default
! rofi.drun-icon-theme: ! rofi.drun-icon-theme:
! "Desktop entry fields to match in drun" Set from: Default ! "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 ! "Disable history in run/ssh" Set from: File
rofi.disable-history: false rofi.disable-history: false
! "Use sorting" Set from: Default ! "Use sorting" Set from: Default