Automatic syncing of desktop files to git
 
 
 
Go to file
Joshua Potter 33b9d30858 Read in config file or search appropriate places.
Add rough README and dependencies along with basic command line
arguments.
2021-12-29 11:06:25 -05:00
.githooks Read in config file or search appropriate places. 2021-12-29 11:06:25 -05:00
examples Read in config file or search appropriate places. 2021-12-29 11:06:25 -05:00
src Read in config file or search appropriate places. 2021-12-29 11:06:25 -05:00
.envrc Basic project template. 2021-12-28 17:06:17 -05:00
.gitignore Basic project template. 2021-12-28 17:06:17 -05:00
Cargo.toml Read in config file or search appropriate places. 2021-12-29 11:06:25 -05:00
README.md Read in config file or search appropriate places. 2021-12-29 11:06:25 -05:00
flake.lock Basic project template. 2021-12-28 17:06:17 -05:00
flake.nix Read in config file or search appropriate places. 2021-12-29 11:06:25 -05:00

README.md

homesync

Caution! This is unstable code!

Introduction

Homesync provides a way of automatically syncing config files across various applications you may use. It works by establishing a file watcher on all the configs specified in the primary homesync config. As files are changed, they are copied to a local git repository to eventually be pushed by the user. Likewise, at any point, the user can sync against the remote repository, overwriting local configurations for one or more packages.

Installation

TODO

Configuration

Homesync uses a YAML file, to be found in anyone of the following locations. Locations are searched in the following order:

$XDG_CONFIG_HOME/homesync/homesync.yml$XDG_CONFIG_HOME/homesync.yml$HOME/.config/homesync/homesync.yml$HOME/.homesync.yml

That said, it is recommended to modify this config solely from the exposed homesync CLI. Homesync will take responsibility ensuring how the config is modified based on your package manager, platform, etc.

Usage

TODO

Contribution

Install git hooks as follows:

git config --local core.hooksPath .githooks/