diff --git a/sample-config/default-config.toml b/sample-config/default-config.toml index ef053de..7a229fa 100644 --- a/sample-config/default-config.toml +++ b/sample-config/default-config.toml @@ -41,7 +41,7 @@ exclude = [] # list of regexes for excluded app ids (name of the .desktop file) # use "" to disable launching commands command_prefix = ":" -frequent_first = true # sort matches of equal quality by most frequently used +frequent_first = false # sort matches of equal quality by most frequently used recent_first = true # sort matches of equal quality by most recently used # when both frequent_first and recent_first are set, # sorting is by frequency first, and recency is used to break ties in frequency diff --git a/src/config.rs b/src/config.rs index 7ad184e..37570e3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -50,7 +50,7 @@ make_config!(Config { markup_highlight: Vec = (parse_attributes("foreground=\"red\" underline=\"double\"").unwrap()) "markup_highlight" [deserialize_with = "deserialize_markup"], markup_extra: Vec = (parse_attributes("font_style=\"italic\" font_size=\"smaller\"").unwrap()) "markup_extra" [deserialize_with = "deserialize_markup"], exclusive: bool = (true) "exclusive", - frequent_first: bool = (true) "frequent_first", + frequent_first: bool = (false) "frequent_first", recent_first: bool = (true) "recent_first", icon_size: i32 = (64) "icon_size", lines: i32 = (2) "lines",