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/drun.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/drun.h')
-rw-r--r-- | src/drun.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 */ |