Go to file
John Mertz 659c8efaca WIP: Script to automatically link files
Takes the source path from PWD and the symlink path and creates them
all. Not tested, just building list.
2023-04-26 22:54:58 -04:00
alacritty Typo in Arch's Nerd font 2023-04-12 21:25:57 -04:00
bash rpm-ostree does not have/need -y option 2023-04-18 08:48:07 -04:00
fonts Track NerdFonts 2023-04-26 20:08:38 -04:00
gtk Track GTK configs 2023-04-26 20:37:30 -04:00
nvim Move to LazyVim 2023-04-09 21:27:17 -04:00
rofi Start tracking Rofi configs 2023-04-18 10:33:19 -04:00
sway Alternative app_id for VSCode workspace pinning 2023-04-11 19:50:31 -04:00
systemd Start tracking systemd Units 2023-04-20 18:11:49 -04:00
vim Clean up old (n)vim configs 2023-01-17 11:00:54 -05:00
waybar Simplified single waybar 2023-04-18 10:33:18 -04:00
wofi ts=4 and initial nvim.lua 2023-01-07 12:03:31 -05:00
xfce4/terminal XFCE4 terminal as backup 2023-04-26 20:16:56 -04:00
.gitignore Ignore enabled systemd units 2023-04-20 18:09:16 -04:00
README.md ts=4 and initial nvim.lua 2023-01-07 12:03:31 -05:00
symlink.sh WIP: Script to automatically link files 2023-04-26 22:54:58 -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.