Sidebar key display names
Opened this issue · 1 comments
Currently: Sidebar printed key names are determined by the keybind character, plus casing logic. Making the sidebar show a name that isn't just the keybind requires using a second dummy keybind, and that dummy keybind hits casing logic that upcases the last character.
Desired: Keybinds can optionally have their sidebar name set expressly as its own configuration variable, and names set this way are displayed without any additional casing logic.
Thoughts:
Maybe set up sidebar definitions to have a general format the same way that elements do.
sidebar.. = "string"
and then have keybind, keydisplay, toggleOn, toggleOff, counter, element, and label all be attributes. Start with the canonical setup as the default sidebar definition, get rid of the "hideline" crap, and just use the current attribute #set logic to add or remove lines from the sidebar.