From daad1ccf92caf32becd48d295438524e35affb55 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Fri, 29 Jul 2022 10:15:11 +0100 Subject: Add default config installation in /etc/xdg/tofi/. --- meson.build | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 4554a99..8776e76 100644 --- a/meson.build +++ b/meson.build @@ -20,12 +20,17 @@ if debug add_project_arguments('-DDEBUG', language : 'c') endif -data_location = join_paths( - get_option('prefix'), - get_option('datadir'), +config_location = join_paths( + get_option('sysconfdir'), + 'xdg', 'tofi' ) +install_data( + 'doc/config', + install_dir: config_location +) + completion_location = join_paths( get_option('prefix'), get_option('datadir'), -- cgit v1.2.3