From 97153752e2eafcce002d5772810e055996a49cd1 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 10 Nov 2019 02:49:42 +0100 Subject: [PATCH 1/2] Add examples folder --- examples/mail_bootstap | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 examples/mail_bootstap diff --git a/examples/mail_bootstap b/examples/mail_bootstap new file mode 100644 index 0000000..cde4f3d --- /dev/null +++ b/examples/mail_bootstap @@ -0,0 +1,39 @@ +# this is an example of a bootstrap file for mail dotfile +# here is the strucure of files : +# +# . +# ├── bin +# │   └── check_mails.sh +# ├── bootstrap +# ├── config +# │   ├── afw +# │   │   └── config +# │   ├── mbsync +# │   │   └── config +# │   ├── msmtp +# │   │   └── config +# │   ├── neomutt +# │   │   ├── base16.muttrc +# │   │   ├── keybinding.neomuttrc +# │   │   ├── mailcap +# │   │   └── neomuttrc +# │   └── notmuch +# │   └── config +# ├── README.md +# └── services +# ├── mail.service +# └── mail.timer + +# check required executables +check_bin "neomutt notmuch mbsync afew msmtp" + +# symblink folder which contains configurations folders to $HOME/.config/ +process_dirs config ${HOME}/.config + +# Symblink and install systemd services, first the service that doesn't need to +# be activated then the timer which need +install_service "services/mail.service" +install_service "services/mail.timer" 1 + +# Symblink an executable to $HOME\.local\bin\ +install_bin "bin/check_mails.sh" From 84aa0e9d15a00029925dca93bead193454f6467e Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 10 Nov 2019 02:50:48 +0100 Subject: [PATCH 2/2] Syntax corrections --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0a8874..a6d9cc6 100644 --- a/README.md +++ b/README.md @@ -115,5 +115,5 @@ service_install "services/myservice.service" 1 ## Licence -This softeware is licenced under the GNU-GPL 3 licence, you can found a copy of +This software is licenced under the GNU-GPL 3 licence, you can found a copy of the licence [here](https://www.gnu.org/licenses/gpl-3.0.en.html).