Quote:
Originally Posted by Aleron Ives
A screenshot of the script output is attached below.
|
Thanks for your sample code.

My own shell script skills are practically non-existent, but a bit of grep/cut googling helped me understand what you did.
I just thought I'd mention that you may need to revisit the code for FontWeight. The .conf file can contain many of these lines, one per font-family that you've ever adjusted the weight for. e.g.
Code:
[Reading]
readingFontWeight\Georgia=0.19
readingFontWeight\IBM%20Plex%20Serif=0.63
readingFontWeight\Kobo%20Nickel=0.48
readingFontWeight\Libre%20Baskerville=0.8
readingFontWeight\LinuxLibertineG=0.65
So if you only want to show the weight of the currently selected font family then you'd need to include the current value of readingFontFamily in your search term.
P.S. Weight isn't a value I'm particularly interested in seeing, so please don't do any extra work on my behalf.