From 7c2f28a0ba58d1c2eef0e8bd8aa3ef012a2590f1 Mon Sep 17 00:00:00 2001 From: ivan <44473782+iamchokerman@users.noreply.github.com> Date: Fri, 25 Mar 2022 15:32:47 +0100 Subject: docs: define word setup (#55) --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4c845b6..0dcfdd7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This is just a fork of [epr](https://github.com/wustho/epr) with these extra fea - [URL](#url-support) - Reading progress percentage - Bookmarks -- External dictionary integration (`sdcv` or `dict`) +- External dictionary integration (`sdcv`, `dict` or `wkdict`) - Inline formats: **bold** and _italic_ (depend on terminal and font capability. Italic only supported in python>=3.7) - Text-to-Speech (with additional setup, read [below](#text-to-speech)) - [Double Spread](#double-spread) @@ -24,22 +24,22 @@ This is just a fork of [epr](https://github.com/wustho/epr) with these extra fea ## Installation -- Via PyPI +- Via PyPI (Linux and Mac OS) ```shell - $ pip3 install epy-reader + pip3 install epy-reader ``` - Via Pip+Git ```shell - $ pip3 install git+https://github.com/wustho/epy + pip3 install git+https://github.com/wustho/epy ``` - Via AUR ```shell - $ yay -S epy-git + yay -S epy-git ``` - Windows Binary @@ -64,7 +64,7 @@ it's disabled by default. Config file is available in json format which is located at: -- Linux: `~/.config/epy/configuration.json` or `~/.epy/configuration.json` +- Linux and Mac OS: `~/.config/epy/configuration.json` or `~/.epy/configuration.json` - Windows: `%USERPROFILE%\.epy\configuration.json` ## URL Support @@ -109,6 +109,12 @@ List of supported engines: - `mimic` - `pico2wave` +## Dictionary + +To use "Define Word" you will have to install an external dictionary cli program (`sdcv`, `dict` or `wkdict`). After you've done that, it is recommended to manually modify the configuration.json file, and set your desired dictionary there, so everything works properly. + +After that you will be able to find definition of word by pressing `d`, and aprompt will appear to let you type in word to define. + ## Double Spread Double spread is intended to mimic the behaviour of real book, -- cgit