So, new version, with night mode and true type support, please test it.
new settings for night mode:
Code:
#
# NightMode support:
#
nightmode_file=/mnt/onboard/.kobo/nightmode.ini
nightmode_key=invertActive
nightmode_value=yes
So this makes it look at the file .kobo/nightmode.ini for the invertActive = yes setting and will likewise invert the MiniClock.
You can change these values, if you want it to ignore the night mode, or if you're using some other night mode mod or setting that has to look at a different config file.
new settings for true type:
Code:
#
# TrueType support:
#
# For fonts inside the MiniClock directory:
# truetype=yourfont.ttf
#
# For fonts stored elsewhere in the filesystem:
# truetype=/mnt/onboard/fonts/something.ttf
#
# Only set these if you use *italic*, **bold**, ***bold italic*** in your format string:
#
# truetype_format=*%a* **%b** ***%d*** %H:%M
# truetype_bold=yourfont-bold.ttf
# truetype_italic=yourfont-italic.ttf
# truetype_bolditalic=yourfont-bolditalic.ttf
#
# Technically, this can also be used for completely different font styles,
# instead of italic or bold variants of the same font.
#
# NOTE: Will fall back to regular mode when font file is unavailable.
# (e.g. while the device is connected to USB)
#
truetype_size=16
truetype_x=0
truetype_y=0
truetype_fg=BLACK
truetype_bg=WHITE
This isn't enabled by default, and it looks for a font in the MiniClock dir but you can also set a path to fonts elsewhere (like /mnt/onboard/fonts/something).
(Download link in my signature)