Skip to content

kpfromer/kdot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A rust dot file manager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages