From 34ed719719b73bc9eeeb934833971fd04141f5ef Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 1 Nov 2021 11:56:19 +0000 Subject: Add bash completion. --- meson.build | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index beaebf2..7a89d15 100644 --- a/meson.build +++ b/meson.build @@ -31,11 +31,23 @@ shader_location = join_paths( '' ) +completion_location = join_paths( + get_option('prefix'), + get_option('datadir'), + 'bash-completion', + 'completions' +) + install_subdir( 'shaders', install_dir: data_location ) +install_data( + 'completions/greetd-mini-wl-greeter', + install_dir: completion_location +) + add_project_arguments( [ '-pedantic', -- cgit v1.2.3