4 releases
0.1.3 | Feb 24, 2021 |
---|---|
0.1.2 | Feb 20, 2021 |
0.1.1 | Feb 20, 2021 |
0.1.0 | Feb 19, 2021 |
#20 in #create-file
16KB
327 lines
kdot
Description
A dot file manager (similiar to stow) for Arch Linux using Rust.
This also my first Rust project so I am learning here! :)
Usage
Configuration File
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.
Commands
kdot link [modules]
- links the module to theto
location.kdot unlink [modules]
- unlinks the module to thefrom
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.
License
This project is using the MIT license.
Dependencies
~3–12MB
~115K SLoC