mirror of https://github.com/sayanarijit/xplr
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
914 B
914 B
Configuration
xplr can be configured using Lua via a special file named init.lua
,
which can be placed in ~/.config/xplr/
(local to user) or /etc/xplr/
(global) depending on the use case.
When xplr loads, it first executes the built-in init.lua to set the default values, which is then overwritten by another config file, if found using the following lookup order:
--config /path/to/init.lua
~/.config/xplr/init.lua
/etc/xplr/init.lua
The first one found will be loaded by xplr and the lookup will stop.
The loaded config can be further extended using the -C
or --extra-config
command-line option.
NEED HELP: Auto generate rest of the docs from src/init.lua using docs/script/generate.py.