diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-09-26 16:19:36 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-09-26 21:06:51 +0200 |
commit | 81d702ed66b8f3ce86d05e22ecd2425eccd1bcf7 (patch) | |
tree | 38563e22285af8a9e51331752de58d8277de77ad /README.adoc | |
parent | 4755033781ebcedea2bf4e44267eb0e1b8312ffd (diff) | |
download | tdv-81d702ed66b8f3ce86d05e22ecd2425eccd1bcf7.tar.gz tdv-81d702ed66b8f3ce86d05e22ecd2425eccd1bcf7.tar.xz tdv-81d702ed66b8f3ce86d05e22ecd2425eccd1bcf7.zip |
Add a configuration file
Now you can have pretty colors w/o having to hardcode them.
The selection is rather limited for now, though.
Search "centering" can now be disabled by default as well.
Diffstat (limited to 'README.adoc')
-rw-r--r-- | README.adoc | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/README.adoc b/README.adoc index b49a97c..5d55847 100644 --- a/README.adoc +++ b/README.adoc @@ -66,7 +66,24 @@ As the original StarDict is a bit of a clusterfuck with regard to collation of dictionary entries, I had to introduce an additional `collation` field into the '.ifo' file. When sdtui discovers this field while reading the dictionary, it automatically reorders the index according to that locale (e.g. "cs_CZ"). -This operation may take a little while. +This operation may take a little while, in the order of seconds. + +Configuration +------------- +To get a nicer look in 256color terminals, create ~/.config/sdtui/sdtui.conf +with the following. Note that it is intended for black-on-white terminals. + +.... +[Settings] +center-search = true +underline-last = false + +[Colors] +header = reverse +search = ul +even = 16 231 +odd = 16 255 +.... Dictionaries ------------ |