diff --git a/waycast-gtk/src/main.rs b/waycast-gtk/src/main.rs index 7853733..b5fa06b 100644 --- a/waycast-gtk/src/main.rs +++ b/waycast-gtk/src/main.rs @@ -14,8 +14,8 @@ fn main() { app.connect_activate(|app| { // Create the core launcher let launcher = WaycastLauncher::new() - // .add_plugin(Box::new(waycast_plugins::drun::new())) - // .add_plugin(Box::new(waycast_plugins::file_search::new())) + .add_plugin(Box::new(waycast_plugins::drun::new())) + .add_plugin(Box::new(waycast_plugins::file_search::new())) .add_plugin(Box::new(waycast_plugins::projects::new())) .init(); diff --git a/waycast-plugins/src/projects/mod.rs b/waycast-plugins/src/projects/mod.rs index f1982e7..4e2fee2 100644 --- a/waycast-plugins/src/projects/mod.rs +++ b/waycast-plugins/src/projects/mod.rs @@ -157,19 +157,6 @@ impl LauncherPlugin for ProjectsPlugin { }); } - fn default_list(&self) -> Vec> { - let mut entries: Vec> = Vec::new(); - - // Try to get files without blocking - if indexing is still in progress, return empty - if let Ok(files) = self.files.try_lock() { - for f in files.iter() { - entries.push(Box::new(f.clone())); - } - } - - entries - } - fn filter(&self, query: &str) -> Vec> { if query.is_empty() { return self.default_list();