[openbox] sound?
Ian Zimmerman
itz at madbat.mine.nu
Sun Nov 25 23:56:48 EST 2007
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>
Refinements are possible - the name / class of the window might be passed
to the command as an argument; commands might be divided into groups to
be serialized; etc.
--
Ham is for reading, not for eating.
More information about the openbox
mailing list