Personal dotfiles saved and deployed using sadedot (macOS).
Go to file
Santiago Lo Coco 2d13f1d0e9 Update README.md 2022-01-19 15:22:54 -03:00
dotfiles Add dotfiles folder 2022-01-19 15:11:03 -03:00
sadedot@5e22b14268 Update sadedot submodule 2022-01-19 15:22:06 -03:00
.gitmodules Add submodule 2022-01-19 14:25:44 -03:00
LICENSE.md Add LICENSE.md 2022-01-19 15:13:16 -03:00
README.md Update README.md 2022-01-19 15:22:54 -03:00

README.md

dotfiles

Backup all your dotfiles (and easily deploy them on another machine).

Table of contents

Installation

Fork this repository.

Usage

You have to move all your dotfiles to the dotfiles folder and then the script will do the symbolic links. Doing it this way, you can now upload them to your repository (to have a backup of them).

You should note that all these dotfiles (files or folders) will be symlinked in $HOME. So, if you want to symlink, for example, something in /etc, you have to put it in the dotfiles/other folder. Here you have to be careful as they will be installed in /. You can see an example here.

So, to run the script:

sh sadedot/scripts/bootstrap.sh

By default the script will run with whiptail (libnewt).

However, the script can use both dialog and whiptail as a way to display dialog boxes, so if you want to use dialog you have to pass -d as a parameter.

For example, you can run

sh sadedot/scripts/bootstrap.sh -d

to use dialog.

Finally, you can run the script with -l if you want to print the log in the sadedot.log file.

Note that you can modify the sadedot/scripts/install.sh if you want to install some programs on your machine when this script is run. By default, sadedot/scripts/bootstrap.sh will not run this script, so you will need to use the -p flag if you want it to run sadedot/scripts/install.sh (it will run at the end of the scripts/bootstrap.sh script).

Dependencies

You must install libnewt or dialog.

Updating

To keep your fork up to date with additions to the sadedot submodule, you must run:

sh sadedot/scripts/update.sh

Contributing

PRs are welcome.

License

MIT