Skip to content
Myr

config: add back 'generic' being included in the default --fields

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent f74d4fb · Browse files · 4 files+6 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+6 added−8 removed

  • other:+6 added−8 removed

4 files+6 added−8 removed

modified:doc/fuzzel.ini.5.scd+1 added-1 removed
125 unmodified lines
126 - categories127 - keywords128 - comment129 130 Default: _filename,name_.130 Default: _filename,name,generic_.131132*password-character*133 Default character to use with the command line option134 *--password*. Note that this can be overridden on the command
377 unmodified lines
modified:CHANGELOG.md-2 removed
105 unmodified lines
106 fuzzel now renders on top of fullscreen windows by default107 ([#81][81]).108* When `--no-fuzzy` is used, fuzzel will now do a fzf-style search109 ([#305][305]).110* The `GenericName` field in `.desktop` files are no longer matched by111 default. Use the `--fields` command line option if you need this.110111[339]: https://codeberg.org/dnkl/fuzzel/issues/339112[81]: https://codeberg.org/dnkl/fuzzel/issues/81113
675 unmodified lines
modified:config.c+1 added-1 removed
1586 unmodified lines
1587 bool ret = !errors_are_fatal;1588 *conf = (struct config) {1589 .output = NULL,1590 .prompt = c32dup(U"> "),1591 .match_fields = MATCH_FILENAME | MATCH_NAME,1591 .placeholder = c32dup(U"type to filter"),1592 .search_text = c32dup(U""),1593 .match_fields = MATCH_FILENAME | MATCH_NAME | MATCH_GENERIC,1594 .password_mode = {1595 .character = U'\0',1596 .enabled = false,1597 },
143 unmodified lines
modified:config.h+4 added-4 removed
34 unmodified lines
35 MATCH_MODE_FUZZY,36};3738enum match_fields {39 MATCH_FILENAME = 0x01,40 MATCH_NAME = 0x02,39 MATCH_NAME = 0x01,40 MATCH_FILENAME = 0x02,41 MATCH_GENERIC = 0x04,42 MATCH_EXEC = 0x08,43 MATCH_CATEGORIES = 0x10,43 MATCH_COMMENT = 0x10,44 MATCH_KEYWORDS = 0x20,45 MATCH_COMMENT = 0x40,45 MATCH_CATEGORIES = 0x40,4647 MATCH_END = MATCH_COMMENT + 1,48};49
157 unmodified lines