summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/tofi.1.md6
-rw-r--r--doc/tofi.1.scd5
-rw-r--r--doc/tofi.5.md4
-rw-r--r--meson.build11
4 files changed, 19 insertions, 7 deletions
diff --git a/doc/tofi.1.md b/doc/tofi.1.md
index 4529dda..7d5a223 100644
--- a/doc/tofi.1.md
+++ b/doc/tofi.1.md
@@ -80,9 +80,13 @@ the form **--key=value**.
# FILES
+*/etc/xdg/tofi/config*
+
+> Example configuration file.
+
*$XDG_CONFIG_HOME/tofi/config*
-> The default configuration file.
+> The default configuration file location.
*$XDG_CACHE_HOME/tofi-compgen*
diff --git a/doc/tofi.1.scd b/doc/tofi.1.scd
index 38ed290..8441c7f 100644
--- a/doc/tofi.1.scd
+++ b/doc/tofi.1.scd
@@ -71,8 +71,11 @@ All config file options described in *tofi*(5) are also accepted, in the form
# FILES
+_/etc/xdg/tofi/config_
+ Example configuration file.
+
_$XDG_CONFIG_HOME/tofi/config_
- The default configuration file.
+ The default configuration file location.
_$XDG_CACHE_HOME/tofi-compgen_
Cached list of executables under $PATH, regenerated as necessary.
diff --git a/doc/tofi.5.md b/doc/tofi.5.md
index 9a76a5d..2f3a38d 100644
--- a/doc/tofi.5.md
+++ b/doc/tofi.5.md
@@ -213,7 +213,7 @@ options.
**history**=*true\|false*
-> Sort results by number of usages.
+> Sort results by number of usages in run and drun modes.
>
> Default: true
@@ -238,7 +238,7 @@ options.
**hint-font**=*true\|false*
> Perform font hinting. Only applies when a path to a font has been
-> specified via **font-name**. Disabling font hinting speeds up text
+> specified via **font**. Disabling font hinting speeds up text
> rendering appreciably, but will likely look poor at small font pixel
> sizes.
>
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'),