From 5a84aa5a259de7f82849e76c0770c8ba10f1a728 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 24 Feb 2019 21:22:59 +0100 Subject: [PATCH] Example config in /etc --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed7de96..2f94c23 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,8 @@ Some configuration files reside in `/etc` directory, but I want to keep track of Just create a folder in `XDG_CONFIG_HOME` and a file named `dest`. In this file, write the destination path. Then, copy the configuration files that you want to track and add them to the repository. You can also use `.desk` and `.laptop` extensions for specific configuration. -The `~/.init_config.sh` script will copy relevant files (laptop or desktop) in the directory specified by `dest` file. +The `~/.init_config.sh` script will copy relevant files (laptop or desktop) in the directory specified by `dest` file. Now you just modify the files tracked by Git and run `~/.init_config.sh`. + +Example : see `~/.config/lightdm` directory. Note this is a quick and quite dirty solution. \ No newline at end of file