aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 584f9ff..af812ee 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,10 @@ multiple vis processes.
By default, the lockfiles will be placed in `${XDG_STATE_HOME:-${HOME}/.local/state}/vis/locks/`.
-The `directory` member of the module table can be used to define the lock file
-location.
+* The `directory` member of the module table can be used to define the lock file location.
+* The `backend` member can be used to specify one of the supported backends: `whiptail` or `vis-menu`.
+ Additionally, it can provide a custom backend function with the following signature `f(filename, lockfilename, lockpid) => bool, ['a', 'e', 'q']`.
+
```lua
local lockfiles = require('plugins/vis-lockfiles')