[openbox] sound?

Dana Jansens danakj at orodu.net
Mon Nov 26 00:16:46 EST 2007


On 11/25/07, Ian Zimmerman <itz at madbat.mine.nu> wrote:
>
> Dana> That's a neet idea. :) I'm interested to see how you would have
> Dana> them configurable.
>
> Taking the first possibility, in the rc file, something like:
>
> <hooks>
>
>   <hook name="Iconify">
>     <command>aplay clicked.wav</command>
>     <!-- any number of other commands here -->
>   </hook>
>
>   <hook name="Unshade">
>     <command>aplay activated.wav</command>
>   </hook>
>
>    <!-- more hooks -->
>
> </hooks>

There are other things that could be useful in a hook too, besides a
shell command.  Maybe any currently existing action, or perhaps a
separate set of hook-actions, one of which would be "execute".  What
other useful things could be done with a hook ?



More information about the openbox mailing list