[openbox] Executing an action on program exit

Knute knuteh at yahoo.com
Sun Mar 23 12:13:26 EDT 2008


--- Mikael Magnusson <mangosoft at comhem.se> wrote:

> On Sun, 23 Mar 2008, Knute wrote:
> 
> > Ok, I am wanting to be able to have an action wait until a program
> ends
> > before it executes.
> 
> You probably want something like
> <action name="execute">
>    <command>sh -c 'command1; command2; command3'</command>
> </action>
> 

Thanks,  I didn't even think of that.  *blushing*

Here's what I have now, and just looking at it, it should work.

                <item label="NWN">
                        <action name="Execute">
                                <execute>
                                    <command> sh -c /usr/bin/aumix
-w88;pulseaudio -k;/usr/games/bin/nwn;pulseaudio
                                </execute>
                        </action>
                </item>



Thanks again!  :)


Knute


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the openbox mailing list