Wow now the pressure is on!
Well here's my plan...
Hold select & press start, to open a little dialog window with a few options:
- About dmenu
- dmenu settings
- Add shortcut here
- Edit current shortcut
- Remove current shortcut
- Quit dmenu
The about option will list stuff like the current version, along with maybe some system data like free memory, space on the sd card, et cetera.
The dmenu settings option will open a little menu with options for changing theme, wallpaper, font colour, along with toggling the various on-screen-displays (battery, sound, time, clockspeed) -- essentially, everything in the dmenu.ini file should be configurable from within dmenu.
The add shortcut here option will open a screen where you need to put in the settings for the new shortcut. There will be some limitations, at least at first... but I picture using the file selector to navigate to where the executable is, then the file or image selector to pick an icon, a checkbox to say if it needs a file selector or not. Getting the name value, I'm not sure about. Maybe just use the name of the executable, till I can figure out the keyboard stuff. When finished, it would have to insert the shortcut into the appropriate cfg file.
The edit shortcut would use the same screen as above but let you modify it and re-save it. The current shortcut is the one that is 'active' on the screen when you hit the select+start buttons.
The delete shortcut would ask for confirmation, then would remove the current shortcut from the appropriate cfg file. As above, 'current' means the one that is 'active' when the function is triggered.
The quit option just terminates the current dmenu session.
So that's my plan... it'll be a big challenge but I'm sure it is all possible. So far, the only thing actually in place is I've got the select button set as a 'modifyer' now, and select+start activates the quit function.
I'm going to start with getting the dialog window with the options to come up, then the about, settings & quit options, and then tackle the shortcut functions.
Cheers!
p.s. I just realized, there will need to be a 'move shortcut' function as well, so you can move them around.