Re: Default ShowMenu position

TT <[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Message-ID <[email protected]>
On 04/07/2015 10:45 AM, Alexey Korop wrote:
> Dana Jansens wrote on 06.04.2015 21:52:
>   AK>     In my config are defined 16 keybinds with ShowMenu action.
>   AK> I want show all these menus at the screen center. Now I must in
>   AK> each of this 16 keybinds write
>   AK>  <position> <x>center</x> <y>center</y> </position>
>   AK>  May I somewhere write this only once without ugly
>   AK>  copypasting?
>
>   DJ> There may be some XML tricks you can do. I'm not familiar with
>   DJ> any though, sorry.
>
>    In other word, openbox config don't allow define this. It is strange a
> bit. There is a highest level option <middle> and there is the lowest
> level option <position> inside the ShowMenu action but there is no
> middle level options.
excuse me, but what are you raving on about?
it *is* possible, if you define it for each instance.
and why is copy-pasting "ugly"?
>    I think it is sane to add in the <keyboard> section new option
> <ShowMenuPosition> that define the default menu placement for all
> keybinds. Natural in each ShowMenu action may be defined own position as
> now.
a new option, just to avoid typing and learning how to use your code editor?
so, user-friendliness in exchange for lightweightness. i see where this 
is going.
just a hundred more requests like this and we're up there with unity & kde.
>    In my case:
>
>    <keyboard>
>      <ShowMenuPosition>
>         <x>center</x> <y>center</y>
>      </ShowMenuPosition>
>      ...
>    </keyboard>
>

_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.