diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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') |
