1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 18:09:17 +00:00

update readme

This commit is contained in:
deadc0de6
2018-12-06 13:25:38 +01:00
parent c5479659db
commit 1ae910eacc

View File

@@ -406,20 +406,16 @@ when xinitrc is installed.
There are two types of transformations available: There are two types of transformations available:
* **read transformations**: used to transform dotfiles before they are installed * **read transformations**: used to transform dotfiles before they are installed
* [Config](#config) key *trans* * [Config](#config) key *trans*
* Used for commands `install` and `compare` * Used for commands `install` and `compare`
* They have two arguments: * They have two arguments:
* **{0}** will be replaced with the dotfile to process * **{0}** will be replaced with the dotfile to process
* **{1}** will be replaced with a temporary file to store the result of the transformation * **{1}** will be replaced with a temporary file to store the result of the transformation
* **write transformations**: used to transform files before updating a dotfile * **write transformations**: used to transform files before updating a dotfile
*
* [Config](#config) key *trans_write* * [Config](#config) key *trans_write*
* Used for command `update` * Used for command `update`
* They have two arguments: * They have two arguments:
* **{0}** will be replaced with the file path to update the dotfile with * **{0}** will be replaced with the file path to update the dotfile with
* **{1}** will be replaced with a temporary file to store the result of the transformation * **{1}** will be replaced with a temporary file to store the result of the transformation