The settings file

You don’t need this page to use NickelBar: its settings on the Kobo cover almost everything. It’s for those who like to tinker, and for the few things only found in the file, such as a colour for each item.

The settings are in .adds/nickelbar/settings.ini on your Kobo. NickelBar creates the file the first time you open a book, and reads it each time you open one. Misspelled settings and invalid values are replaced by their defaults. Names and values are case sensitive.

The default settings file:

[General]
Debug=false

[Battery]
BorderColor=
ChargingBorderColor=#000000
ChargingColor=#ffc000
Color=#007000
LowBorderColor=
LowColor=#ffc000
LowLevel=20
Style=Icon

[Colors]
BookPagesLeft=
BookPercent=
BookTimeLeft=
ChapterPagesLeft=
ChapterPercent=
ChapterTimeLeft=
ChapterTitle=
Clock=

[Footer]
Background=
Center=
Enabled=true
Left=ChapterTimeLeft
Right=BookPercent
TextColor=

[Header]
Background=
Center=ChapterTitle
Enabled=true
Left=Clock
Right=Battery
TextColor=

Colours are written as #rrggbb, such as #ffcc00, or as a name, such as navy.

SettingValues
Enabledtrue, false. false leaves the bar to Kobo. NickelBar only replaces a header or footer that Kobo shows, so Kobo’s own one must be on in its reading settings.
Left, Center, RightThe items to show at the left, in the middle and at the right of the bar, separated by commas, e.g. Clock, Battery. Empty for nothing.
BackgroundEmpty for none, or a colour. With a background, the bar sits against the top or bottom of the screen and is only as tall as its items need, leaving a gap to the text.
TextColorEmpty for Kobo’s text colour, or a colour.

The items are:

ItemShows
ClockThe time
BatteryThe battery level (see Battery)
ChapterTitleThe title of the current chapter, shortened with “…” if it doesn’t fit
ChapterPagesLefte.g. “9 pages left in chapter”
ChapterPercente.g. “25% of chapter”
ChapterTimeLefte.g. “8 min left in chapter”
BookPagesLefte.g. “210 pages left in book”
BookPercente.g. “15% of book”
BookTimeLefte.g. “3 h 25 min left in book”

Each item can be shown once per bar. Time left is Kobo’s estimate from your reading speed, or a minute per page until it has one.

[Colors]

The colour of each item: empty for the bar’s TextColor, or a colour. The battery’s colours are under Battery.

[Battery]

SettingValues
StyleIcon, Level (the percentage), Both
ColorColour of the battery. Empty for the bar’s TextColor.
BorderColorColour of the battery icon’s outline. Empty for the battery’s colour.
LowColorColour when the battery is at or below LowLevel and not charging. Empty for Color.
LowBorderColorOutline colour when the battery is low. Empty for BorderColor.
LowLevel0 to 100
ChargingColorColour while charging. Empty for Color.
ChargingBorderColorOutline colour while charging. Empty for BorderColor.

Colour e-paper mutes colours, and thin lines such as the battery icon’s outline show little of it. Strong, dark colours work best.

[General]

SettingValues
Debugtrue, false. Writes diagnostic files to the Kobo each time a book is opened.