[openbox] Queue actions in menu
Mikael Magnusson
mangosoft at comhem.se
Fri Jul 27 00:05:10 EDT 2007
On Fri, 27 Jul 2007, Przemyslaw Gawronski wrote:
> Hi, I'm new to OpenBox, I've been a long time IceWM and AfterStep user,
> but decided to give OpenBox a try :)
>
> In my menu file I've got this entry:
>
> <menu id="setup-menu" label="Config">
> <item label="openbox menu.xml">
> <action name="Execute">
> <command>gvim -geometry 120x50 .config/openbox/menu.xml</command>
> </action>
> <action name="Reconfigure" />
> </item>
> </menu>
>
> What I want is to OpenBox automatically reconfigure itself after editing
> the menu file, but it doesn't :(
>
> I would be thankful for suggestions.
1) Openbox doesn't hang while apps you launch are running, that would
probably be annoying.
2) gvim automatically forks itself when launched so it's impossible to
wait for if we wanted (by default)
However:
<command>gvim -f -geometry 120x50 .config/openbox/menu.xml && openbox --reconfigure</command>
^^ ^^^^^^^^^^^^^^^^^^^^^^^^
--
Mikael Magnusson
More information about the openbox
mailing list