aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-06 17:03:59 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-17 09:27:53 +0000
commite95bc9283ef2c4568cf4662b2cf9c29ef8265f21 (patch)
tree87a91cc0ff412b32b3e6bc35c8a69790710fd500
parenturl-mode: add a key binding that enables “persistent” URL mode (diff)
meson: install foot.ini to /etc/xdg/foot/foot.ini
Closes #1001
-rw-r--r--CHANGELOG.md4
-rw-r--r--meson.build2
2 files changed, 5 insertions, 1 deletions
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