From 9e8af9d25106b615dabf956305f4ef80496ed412 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 24 Jul 2022 12:31:09 +0100 Subject: Add drun mode. This is a pretty simple implementation, but it should work for most use cases. Notably, generic application names aren't used (though that could be added without too much hassle), and neither are keywords (that would be more difficult). --- src/entry.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/entry.h') diff --git a/src/entry.h b/src/entry.h index 4f01252..63aad8a 100644 --- a/src/entry.h +++ b/src/entry.h @@ -7,6 +7,7 @@ #include #include #include "color.h" +#include "desktop_vec.h" #include "history.h" #include "image.h" #include "surface.h" @@ -35,10 +36,12 @@ struct entry { uint32_t selection; struct string_vec results; struct string_vec commands; + struct desktop_vec apps; struct history history; bool use_pango; /* Options */ + bool drun; bool horizontal; uint32_t num_results; int32_t result_spacing; -- cgit v1.2.3