diff options
author | Phil Jones <philj56@gmail.com> | 2022-07-24 12:31:09 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-07-24 12:40:26 +0100 |
commit | 9e8af9d25106b615dabf956305f4ef80496ed412 (patch) | |
tree | 180ad86a9c1675777c83a9243db5129a01be9146 /src/entry.h | |
parent | ee0ed3c506f8f45fce42cbabc1d9521382740924 (diff) |
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).
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <cairo/cairo.h> #include <wchar.h> #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; |