diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..d8bd824 --- /dev/null +++ b/README.md | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # dotup | ||
| 2 | |||
| 3 | CLI tool to symlink configuration files to into their correct place. | ||
| 4 | |||
| 5 | Create a `dotup` file in the directory that contains all config files. | ||
| 6 | ``` | ||
| 7 | configs/ | ||
| 8 | neovim/ | ||
| 9 | ... | ||
| 10 | alacritty/ | ||
| 11 | ... | ||
| 12 | dotup | ||
| 13 | ``` | ||
| 14 | |||
| 15 | Populate the config file | ||
| 16 | ``` | ||
| 17 | group desktop { | ||
| 18 | include group="neovim" | ||
| 19 | include group="alacritty" | ||
| 20 | } | ||
| 21 | |||
| 22 | group neovim { | ||
| 23 | link source="neovim/" target=".config/nvim" | ||
| 24 | } | ||
| 25 | |||
| 26 | group alacritty { | ||
| 27 | link source="alacritty/" target=".config/alacritty" | ||
| 28 | } | ||
| 29 | ``` | ||
| 30 | |||
| 31 | Install the symlinks | ||
| 32 | ```bash | ||
| 33 | dotup install desktop | ||
| 34 | ``` | ||
