Skip to content
hawkeyexp edited this page Sep 3, 2018 · 13 revisions

Creating Custom Buttons

  • General
    Custom buttons are only possible on the tile gui - not on the classic interface.

  • Creating
    The buttons are configured via a config file for each button on /boot/crankshaft The config files are named button_1, button_2, etc. - a max of 8 buttons is possible. You can create the config files yourselve or using the csmt. crankshaft buttons 1 for example creates the config file for button 1 with a dummy config. Now you can edit the button for your need.

  • Syntax
    The config is a combination of 3 parts:

    • Label (Name of your button)
    • Command (the command which should be started with your button - for example /boot/crankshaft/custom/mycommand)
    • Color code as rgb (the color for your button - by default gray is assigned if not defined)

    As delimater # is used.

    A config should look like this:

    • Including color setup:
      Label#/path/to/my/command#255,255,255#
    • Without color setup:
      Label#/path/to/my/command##
Clone this wiki locally