My modular configuration manager for MacOS and Linux.
I try to comply to the XDG
standard
as much as possible. My $HOME is chmod -w
'd lol.
Config files | Installed to |
---|---|
config/* |
XDG_CONFIG_HOME |
data/* |
XDG_DATA_HOME |
bin/* |
Normally ~/.local/bin , but specified in the dot.py |
home/* |
~ (looking at you, Bash) |
This repository can be cloned to any location on your computer. The dotfiles are managed using a Makefile. This makes the configuration modular and allows me to install only the configuration from the programs I need at that moment. All commands overwrite the current configuration. Here are the Make commands:
make all
: link all files from this repo to their respective (XDG_*
locations).make [config|data|home|bin]
: Only install content from these directories.make <program>
: Install config for that program, independent of which directory it is in (multiple also possible).make mac
: MacOS specific stuff.make clean-[config|data|home|bin]
: Remove only the programs that are synced with this repo from their target directoriesmake clean
: Remove only the programs that are synced with this repo from all target directories.
"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them." -- Richard Feynman
Please create an issue!
Licensed under the MIT license.