Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.05 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.05 KB

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 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.

License

This project is using the MIT license.