From e95bc9283ef2c4568cf4662b2cf9c29ef8265f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 6 Apr 2022 19:03:59 +0200 Subject: [PATCH] meson: install foot.ini to /etc/xdg/foot/foot.ini Closes #1001 --- CHANGELOG.md | 4 ++++ meson.build | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f180e38..4f40922e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,10 @@ (https://codeberg.org/dnkl/foot/issues/980). * Use circles for rendering light arc box-drawing characters (https://codeberg.org/dnkl/foot/issues/988). +* Example configuration is now installed to + `${sysconfdir}/xdg/foot/foot.ini`, typically resolving to + `/etc/xdg/foot/foot.ini` + (https://codeberg.org/dnkl/foot/issues/1001). ### Deprecated diff --git a/meson.build b/meson.build index e2df6bdd..735419f9 100644 --- a/meson.build +++ b/meson.build @@ -269,7 +269,7 @@ if scdoc.found() install_data( 'LICENSE', 'README.md', 'CHANGELOG.md', install_dir: join_paths(get_option('datadir'), 'doc', 'foot')) - install_data('foot.ini', install_dir: join_paths(get_option('datadir'), 'foot')) + install_data('foot.ini', install_dir: join_paths(get_option('sysconfdir'), 'xdg', 'foot')) subdir('doc') endif