1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:44:45 +00:00

adding key_prefix and key_separator for #335

This commit is contained in:
deadc0de6
2021-11-21 22:53:27 +01:00
parent e5edc8e604
commit 6722dcb718
7 changed files with 162 additions and 21 deletions

View File

@@ -42,12 +42,13 @@ $ dotdrop import ~/.xinitrc
```
You can control how the dotfile key is generated in the config file
with the config entry `longkey` (defaults to *false*).
with the following config entries:
Two formats are available:
* *short format* (default): take the shortest unique path
* *long format*: take the full path
* `longkey`
* *short format* (default): take the shortest unique path
* *long format*: take the full path
* `key_prefix`: defines if the key is prefixed with `f<key_separator>` for file and `d<key_separator>` for directory
* `key_separator`: defines the separator to use (defaults to `_`)
For example, `~/.config/awesome/rc.lua` gives: