• New menu/lightbar options in ENiG

    From NuSkooler@21:1/121 to All on Sun Jan 28 19:16:30 2018
    Just pushed some new changes to enig 0.0.9-alpha branch that allows very easy custom menu / lightbar items.

    The 'items' property of a menu MCI can now be an array of *objects* containing any members you wish. A theme can then use 'itemFormat' and 'focusItemFormat' to render them as you please.

    For example - menu.hjson:
    VM1: {
    items: [
    {
    firstName: Foo
    lastName: Bar
    age: 42
    }
    ]
    sort: lastName
    }

    ...and in a theme.hjson:
    VM1: {
    itemFormat: "|07{lastName}|08, |07{firstName} |08- |07{age}"
    focusItemFormat: "|15{lastName}|07, |15{firstName} |07- |15{age}"
    }




    --- ENiGMA 1/2 v0.0.9-alpha (linux; x64; 8.9.4)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)