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 /meson.build | |
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 'meson.build')
-rw-r--r-- | meson.build | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 1c71eef..617e9ef 100644 --- a/meson.build +++ b/meson.build @@ -44,6 +44,12 @@ install_symlink( pointing_to: 'tofi', ) +install_symlink( + 'tofi-drun', + install_dir: get_option('bindir'), + pointing_to: 'tofi', +) + add_project_arguments( [ '-pedantic', @@ -61,6 +67,8 @@ tofi_sources = files( 'src/color.c', 'src/compgen.c', 'src/config.c', + 'src/desktop_vec.c', + 'src/drun.c', 'src/entry.c', 'src/entry_backend/pango.c', 'src/entry_backend/harfbuzz.c', @@ -94,6 +102,8 @@ wayland_client = dependency('wayland-client') wayland_protocols = dependency('wayland-protocols', native: true) wayland_scanner_dep = dependency('wayland-scanner', native: true) xkbcommon = dependency('xkbcommon') +glib = dependency('glib-2.0') +gio_unix = dependency('gio-unix-2.0') # Generate the necessary Wayland headers / sources with wayland-scanner @@ -127,7 +137,7 @@ endforeach executable( 'tofi', tofi_sources, wl_proto_src, wl_proto_headers, - dependencies: [librt, libm, freetype, harfbuzz, cairo, pangocairo, wayland_client, xkbcommon], + dependencies: [librt, libm, freetype, harfbuzz, cairo, pangocairo, wayland_client, xkbcommon, glib, gio_unix], install: true ) |