~piotr-machura/dotfiles

c8d545eb4cd7303ce613b21240c65420fcc613ae — Piotr Machura 5 months ago 26cb3ae
Add information on configuring himalaya
1 files changed, 34 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +34 -0
@@ 183,6 183,40 @@ key ID. Provide said identity file by creating

While you're at it, move the current gpg directory to the desired location `mv ~/.gnupg $GNUPGHOME`.

### Himalaya
Himalaya is a handy command line IMAP/SMTP tool. The required configuration file has the following format:
```none
~/.config/himalaya/config.toml
------------------------------
name = "<your name here>"
downloads-dir="<download dir here>"
signature-delimiter = "-- \n"
signature="<your name here>"
notify-cmd = "notify-send -i telegram-panel '<sender>' '<subject>'"

[personal]
default = true
email = "<email address here>"

smtp-host = "<smtp server address here>"
smtp-port = 587
smtp-login = "<email address here>"
smtp-passwd-cmd = "gpg -d <your home directory>/.config/himalaya/pass.gpg"

imap-host = "<imap server address here>"
imap-port = 993
imap-login = "<email address here>"
imap-passwd-cmd = "gpg -d <your home directory>/.config/himalaya/pass.gpg"
```

Prepare the password file

```bash
echo "<password here>" > ~/.config/himalaya/passw`
gpg -e ~/.config/himalaya/passw
rm ~/.config/himalaya/passw
```

## GUI programs

Some GUI programs choose to keep absolutely everything in their config files - including useless stuff like last window