View Single Post
Old 05-16-2024, 02:33 PM   #1305
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,022
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
There are sample NickelMenu configuration files in this forum.

As @hatulang posted, he has a sample config file on Reddit. I've copy/pasted that config file into this message wrapped in spoiler and code tags:

Spoiler:
Code:
# -----------------------------------------------------------------------
# Home/Main Screen
#
menu_item :main     :Articles/Pocket    :nickel_open :library :pocket
menu_item :main     :Browser            :nickel_browser :modal
menu_item :main     :Wishlist           :nickel_open :discover :wishlist
menu_item :main     :Screensaver toggle :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 :Wallpaper Mode
     chain_always   :skip :-1
     chain_failure  :cmd_spawn :quiet :mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old
     chain_success  :dbg_toast :Cover Art Mode
menu_item :main     :Screen Invert toggle :nickel_setting :toggle :invert
     chain_success  :power :reboot
menu_item :main     :WiFi on/off        :nickel_setting :toggle :force_wifi
     chain_success  :nickel_wifi :toggle
menu_item :main     :Sleep              :power :sleep
menu_item :main     :Shutdown           :power :shutdown
menu_item :main     :Reboot             :power :reboot
menu_item :main     :USB Connection     :nickel_misc :force_usb_connection  
#
# -----------------------------------------------------------------------
# Reader
menu_item :reader   :Reading Stats      :nickel_open :reading_life :stats
menu_item :reader   :Search             :nickel_open :store :search
menu_item :reader   :Dark Mode          :nickel_setting :toggle :dark_mode
menu_item :reader   :Screenshots on/off :nickel_setting :toggle :screenshots 
menu_item :reader   :WiFi on/of         :nickel_setting :toggle :force_wifi
     chain_success  :nickel_wifi :toggle
#                
# -----------------------------------------------------------------------
# Browser
menu_item :browser  :Quit               :nickel_misc :home
menu_item :browser  :Search             :nickel_open :store :search
menu_item :browser  :Orientation        :nickel_orientation :swap
#                
# -----------------------------------------------------------------------
# Library/Book page/Screen
menu_item :library  :Home               :nickel_misc :home
menu_item :library  :Books              :nickel_open :library :all
menu_item :library  :Articles/Pocket    :nickel_open :library :pocket
menu_item :library  :WiFi               :nickel_setting :toggle :force_wifi
     chain_success  :nickel_wifi :toggle
#

# -----------------------------------------------------------------------
DNSB is online now   Reply With Quote