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.
[Header] and [Footer]
| Setting | Values |
|---|---|
Enabled | true, 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, Right | The 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. |
Background | Empty 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. |
TextColor | Empty for Kobo’s text colour, or a colour. |
The items are:
| Item | Shows |
|---|---|
Clock | The time |
Battery | The battery level (see Battery) |
ChapterTitle | The title of the current chapter, shortened with “…” if it doesn’t fit |
ChapterPagesLeft | e.g. “9 pages left in chapter” |
ChapterPercent | e.g. “25% of chapter” |
ChapterTimeLeft | e.g. “8 min left in chapter” |
BookPagesLeft | e.g. “210 pages left in book” |
BookPercent | e.g. “15% of book” |
BookTimeLeft | e.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]
| Setting | Values |
|---|---|
Style | Icon, Level (the percentage), Both |
Color | Colour of the battery. Empty for the bar’s TextColor. |
BorderColor | Colour of the battery icon’s outline. Empty for the battery’s colour. |
LowColor | Colour when the battery is at or below LowLevel and not charging. Empty for Color. |
LowBorderColor | Outline colour when the battery is low. Empty for BorderColor. |
LowLevel | 0 to 100 |
ChargingColor | Colour while charging. Empty for Color. |
ChargingBorderColor | Outline 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]
| Setting | Values |
|---|---|
Debug | true, false. Writes diagnostic files to the Kobo each time a book is opened. |