From e4652c08897243b3efa05743f89c26b2c99976cb Mon Sep 17 00:00:00 2001 From: Navid Sassan Date: Sun, 21 Apr 2024 15:43:05 +0200 Subject: [PATCH] enable fuzzy search in rofi --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 111e153..5871e76 100644 --- a/src/main.rs +++ b/src/main.rs @@ -166,6 +166,11 @@ fn handle_select() { .arg("bw") .arg("-modes") .arg(format!("bw:{} select", &executable_path.to_string_lossy())) + .arg("-matching") + .arg("fuzzy") + .arg("-sorting-method") + .arg("fzf") + .arg("-sort") // we need to remap some default so that we can use the keys for custom binds .arg("-kb-accept-alt") .arg("F12")