@Trixie
Seems Amidock is good enough , just need some fixes there and there, but ! What we need, its just write concept of "top-bar" dockies and make it kind of "standard" and put it to Wiki article (so , when any programmer will ask : how to make topbar docky? we will point on that article).. I.e. something like
How to write top-bar dockys.
Top-bar dockys are the usual docky with only one exception that it is placed on top right of wb screen (usually it is top bar of wb screen, or, if topbar is disable by user it will be placed just at 0,0 top/right). The moment which you should note when write top-bar dockyis:
1. size of the docky indicator should be X,Y. Not bigger, not smaller, just to fit it to top-bar dock right (and your design will be by default mean that) (that one need to think about as well, because resolutions different, etc, maybe just that "top-bar" panel we can setup to some standard scaling, and that will be no problem).
2. you should add a name of the top-bar doc [there need to think about, if it will be some default os4 top-bar docky, then it should have some name, to which devs can connect their top-bar dockys]
3. ... etc..etc..some...crap..about..how...to...make...good...top-bar dockyes...
.. balbllab..
The problem is where and how to put the keymap indicator stuff. So unless this is agreed upon, I can't (and won't) start working on the code.
My bet is to have in mind that we will have standard top-bar docky , with common name like "top-bar docky" , so, any docks which want to be "top-bar" ones, should use that dock. So, indicator stuff will renders to that docky (those images-flags or whatever for start). And that all. When we will have it like this, we at least can:
1). click on it (then will think what to do next)
2). it will be docky in some panel
3). can works without topbar if it disabled by some (it will be placed just where topbar should be, and still will works and be visibly, etc).
4). and all the stuff which we discuss
Why it can be better to do it right from beginning: because print env on top bar and making docky which reacts fine are 2 different progs imho. Putting is not to docky will be bad because it will not fits to that "top-bar docky panel" , it will then again the same kind of hack like digiclock (no standard way of making top bar dockys => mess).
ps. check also plz another topic about "we need top-bar plugins/modules": Abalaban there bring few ideas as well, maybe also can help.