Example config in /etc

master
Quentin Duchemin 2019-02-24 21:22:59 +01:00
parent 72760d3ec6
commit 5a84aa5a25
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 3 additions and 1 deletions

View File

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