diff --git a/notes.md b/notes.md index 3c23cd3..c7449ae 100644 --- a/notes.md +++ b/notes.md @@ -12,8 +12,24 @@ * uses cargo to install fd-find and exa * copies xkb-symbols: https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450 +# `configs.yml` +* holds the symlinks, git clones and config writes + # `install.py` + +## main() * parses args: undefined number of programs as a list * has a flag to overwrite (--force) -* installer is a class, --force flag is passed to constructor -* installer.install is passed the programs list +* Installer is a class, --force flag is passed to constructor +* runs Installer.install with the programs list + +## class Installer() +* force defaults to False +* self.conf -> load `configs.yml` +* self.this_dir = getcwd() +* self.home = ~ (expanduser) +* self.force = force +* install(): + - if no program in list, programs are found in self.conf + - for each program, run install_program(program) +* install_program(program)