Crates.io | kdot |
lib.rs | kdot |
version | 0.1.3 |
source | src |
created_at | 2021-02-19 17:01:40.11077 |
updated_at | 2021-02-24 03:07:23.852888 |
description | An Archdot file manager. |
homepage | |
repository | https://github.com/kpfromer/kdot/ |
max_upload_size | |
id | 357663 |
size | 45,658 |
A dot file manager (similiar to stow) for Arch Linux using Rust.
This also my first Rust project so I am learning here! :)
At the root of our dotfiles you need to create a file called kdot.json
with the following structure:
{
"modules": [
{
"name": "bash",
"location": {
"from": "bash",
"to": "/home/user"
}
},
{
"name": "polybar",
"location": {
"from": "polybar",
"to": "/home/user/.config/polybar"
}
}
]
}
Here we have defined the bash
module and polybar
module.
kdot link [modules]
- links the module to the to
location.kdot unlink [modules]
- unlinks the module to the from
location.kdot sync [modules]
- unlinks and relinks the module.modules
can be one or more modules (seperated by spaces).
Also read the help dialog via kdot --help
. It will always be up to date.
This project is using the MIT license.