Files
kobo-config/.adds/nm/items
Nico Verbruggen a4c271871c Added menu button customization
- The notes tab button is hidden
- The activity tab button is now displayed
- Notebook toggle is now disabled (no longer needed)

I've also bundled the latest version of NickelMenu as per this commit:
2f7b78f26a

You may want to get a more up-to-date version for your device if
possible, but I'm including a working copy for the current version
of the firmware that supports navigation customization.

Note that I've also added the documentation to the repo, since the
latest documentation includes instructions on how to tweak the tab
navigation at the bottom of the device.
2025-10-17 10:41:12 +02:00

42 lines
1.9 KiB
Plaintext

# Menu button customization
experimental :menu_main_15505_0_enabled: 1
experimental :menu_main_15505_1_label: Books
experimental :menu_main_15505_2_enabled: 1
experimental :menu_main_15505_2_label: Stats
experimental :menu_main_15505_3_enabled: 0
experimental :menu_main_15505_3_label: Notes
experimental :menu_main_15505_4_enabled: 1
experimental :menu_main_15505_5_enabled: 1
experimental :menu_main_15505_default: 1
experimental :menu_main_15505_enabled: 1
# The main NickelMenu item is now called Tweak
experimental :menu_main_15505_label :Tweak
experimental :menu_main_15505_icon :/mnt/onboard/.adds/nm/.cog.png
menu_item :main :Screensaver :cmd_output :500 :quiet :test -e /mnt/onboard/.kobo/screensaver_old
chain_failure : skip : 3
chain_success : cmd_spawn : quiet: mv /mnt/onboard/.kobo/screensaver_old /mnt/onboard/.kobo/screensaver
chain_success : dbg_toast : screensaver on
chain_always : skip : -1
chain_failure : cmd_spawn : quiet: mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old
chain_success : dbg_toast : screensaver off
menu_item :main :Screenshots :nickel_setting :toggle :screenshots
menu_item :main :Auto USB :nickel_setting :toggle :auto_usb_gadget
# With the notebook feature disabled, this toggle is no longer required
# menu_item :main :Hide Notebook :cmd_output :500 :/mnt/onboard/.adds/scripts/disable_notebook.sh
chain_success :power :reboot
menu_item :main :Toggle Legibility :cmd_output :500 :/mnt/onboard/.adds/scripts/toggle_wk_rendering.sh
chain_success :power :reboot
menu_item :main :IP Address :cmd_output :500:/sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}'
menu_item :main :Invert & Reboot :nickel_setting :toggle: invert
chain_success :power :reboot
menu_item :main :Sleep :power :sleep
menu_item :reader :Dark Mode :nickel_setting :toggle :dark_mode