This repository is mainly for certain configuration i have for some machines, it is not meant for production use. You can use it, but don't blame me if your box is broken :)
I'm starting to use stow to manage dotfiles
For now
- git
- Xmodmap
- xbindkeys
- autorandr https://github.com/phillipberndt/autorandr
More to come, as I slowly switch from Tyr to Deimos and unify my i3 configs from Rigisamus, Phobos and Deimos, until Mars arrives (Circa 2021?)
One problem I currently have, is that I don't want to play too much with XDG_CONFIG_HOME
which now maps to ~/.config
due to fear of (broken) software that won't respect it
however I guess I can try a ix between how FAI handles files and stow + make?
- Go to the
.dotfiles
directory:cd .dotfiles
- Create a dir with the name of the "package" you want, this can be virtually anything:
mkdir autorandr
, if the configuration files are under a strange location~/.config/autorandr
for instance, create the whole structure, right before the file/directory you want to store:mkdir -p autorandr/.config
in this case - Copy your files
cp -r ~/.config/autorandr autorandr/.config
- Adopt the directory/package:
stow --adopt autorandr
- Now, you can remove the destination
rm -rf ~/.config/autorandr
and then restore the configuration filesstow --restow autorandr
and stow will take care of all the symlinks - Verify:
ls -la ~/.config | grep autorand
:lrwxrwxrwx 1 foursixnine users 40 Sep 2 18:50 autorandr -> ../.dotfiles/autorandr/.config/autorandr
For git
I found out that you can use conditional includes, so no need to switch git configs anymore (which solves the problem of wanting to have separate identities for work/normal life)
A post checkout hook is added to ensure that we don't push to master directly on work stuff (SUSE for that matter)
Rigisamus is an apple mbp retina, so if you're looking for the configurations that I have done, or if you're running Gentoo (4.14.x Kernel) you might find some information here quite interesting. Take a look at rigisamus