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/drun.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/drun.h (limited to 'src/drun.h') diff --git a/src/drun.h b/src/drun.h new file mode 100644 index 0000000..2e14599 --- /dev/null +++ b/src/drun.h @@ -0,0 +1,11 @@ +#ifndef DRUN_H +#define DRUN_H + +#include "desktop_vec.h" +#include "string_vec.h" + +struct desktop_vec drun_generate(void); +struct desktop_vec drun_generate_cached(void); +void drun_launch(const char *filename); + +#endif /* DRUN_H */ -- cgit v1.2.3