From 81d702ed66b8f3ce86d05e22ecd2425eccd1bcf7 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 26 Sep 2016 16:19:36 +0200 Subject: 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. --- README.adoc | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'README.adoc') 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 ------------ -- cgit v1.2.3-70-g09d2