kdot

Crates.iokdot
lib.rskdot
version0.1.3
sourcesrc
created_at2021-02-19 17:01:40.11077
updated_at2021-02-24 03:07:23.852888
descriptionAn Archdot file manager.
homepage
repositoryhttps://github.com/kpfromer/kdot/
max_upload_size
id357663
size45,658
Kyle Pfromer (kpfromer)

documentation

README

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.

Commit count: 30

cargo fmt