Go to file
John Mertz 69dce4ca02 Distrobox updates 2022-12-12 22:56:53 -05:00
bash Clean up distrobox errors 2022-12-12 22:44:24 -05:00
gnome Gnome terminal configurations for Distrobox 2022-12-12 22:54:24 -05:00
nvim Highlight current line 2022-11-18 19:54:36 -05:00
sway Distrobox updates 2022-12-12 22:56:53 -05:00
vim 'printdd' for quick import and use of Data::Dump. 2022-11-21 18:47:57 -05:00
waybar Simple description comment change 2022-12-12 14:46:39 -05:00
wofi Update Xdefaults, bash_aliases, and 12 more files... 2022-11-04 11:12:23 -04:00
.gitignore Not quite pure black and white 2022-07-21 17:18:15 -04:00
README.md Fix formatting, update paths 2022-02-23 20:57:45 -05:00
Xdefaults Update Xdefaults, bash_aliases, and 12 more files... 2022-11-04 11:12:23 -04:00

README.md

${HOME}/.dotfiles

Version control for dotfiles and templates.

Purpose

${HOME}/.config and ${HOME} are a nightmare to version control. Maintaining a distinct dotfile directory then linking to those files is a much more sane way to cordon them off from the rest of the mess.

Usage

Make changes and maintain dotfiles in this directory.

TODO: Everything below Define symlinks or dumper within the .links file.

Run ${HOME}/scripts/update_configs.pl to refresh links and dump templates.

Details

This file contains a JSON hash of the configuration files available with either a path to be linked, or the name of a dumper contained within ${HOME}/scripts/dotfiles.

${HOME}/.spool/dotfiles.json

This file contains a JSON hash of timestamps at which each configuration was last linked or dumped. The ${HOME}/scripts/update_configs.pl script will use these times to know whether or not they need to be updated. It will do so if:

  • it is a linked configuration file and the .links file has been updated since it was last linked.
  • it is a dumpable template and the template has been updated since the last logged event.