Skip to content

WebUI X Shortcuts

Since v33404 you can add WebUI's as a shortcut to your home screen. Here will you learn how to set it up.

Requirements

  • A laucher that supports pinned shortcuts
  • config.mmrl.json in your modules webroot

To make it work add the following properties to your config.mmrl.json

json
{
  "title": "bindhosts",
  "icon": "bindhosts-icon.jpg"
}

Adding it to the home screen

js
const moduleInterface = window.$example_module;

// Picks `title` and `icon` from config.json
moduleInterface.createShortcut()

// Define your own paths from webroot
moduleInterface.createShortcut("Custom Title", "icon.webp")
PropertyDescription
titleTitle of the shortcut that displayed on the home screen launcher
iconAny type of image that should show on the home screen launcher
The icon should be always in the webroot!

Released under the GPL3 License.