Save and deploy your dotfiles on any git version control system like Codeberg.
Go to file
Santiago Lo Coco fdf961b97f Update useWhiptail() 2021-12-31 17:17:32 -03:00
dotfiles Move 'other' folder and update scripts 2021-12-26 20:30:29 -03:00
scripts Update useWhiptail() 2021-12-31 17:17:32 -03:00
templates Add more validations 2021-12-26 19:40:13 -03:00
.gitignore Add gitconfig (with setup) 2021-12-21 19:38:18 -03:00
LICENSE.md Create LICENSE.md 2021-12-21 18:43:19 -03:00
README.md Add link to example 2021-12-26 21:47:29 -03:00

README.md

CocoRice

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 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, and if you want to use whiptail -w.

For example, you can run

sh scripts/bootstrap.sh -d

to use dialog.

Dependencies

You must install libnewt or dialog.

Contributing

PRs are welcome.

License

MIT