From 2f1cee04cbc9e1ab1827b639563aa9aacbd29c43 Mon Sep 17 00:00:00 2001 From: Kitsu Date: Fri, 4 Dec 2020 01:55:56 +0300 Subject: [PATCH] Specify default config in readme --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce80111..2033f5a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,28 @@ ## Configuring -TBD +Sample configuration: + +```toml +# This file should be placed at ~/.config/yofi/yofi.config + +# ~~Fallback values +# font = "DejaVu Sans" +bg_color = 0x272822ee # ~~colors are specified in 0xRRGGBBAA format +# font_color = 0xf8f8f2ff + +# ~~Block for input field +[input_text] +# font = ... +font_color = 0xf8f8f2ff +bg_color = 0x75715eff + +# ~~Block for a list with search results +[list_items] +# font = ... +font_color = 0xf8f8f2ff +selected_font_color = 0xa6e22eff +``` ## Running