I have a question about fvwmevent, too…
I would like to have a event happen in a random amount of time (3h - 5h)
and that event would be random of two possibilities, either a random sound, or a random function.
I have no idea how to proceed. Could someone help?
You won’t need FvwmEvent for this (from what you’ve written there). There’s any number of ways you could do this — it might be more beneficial running an external script to do this – so FvwmCommand will probably help you here. You could even use cron for this purpose.
Can you supply a few more details about what you want to have happen?
Well, the idea came from when I was reworking my shodan-theme to be fvwm-themes compliant and I thought it would be neat if I could somehow add to the theme something that made her say something (that is, play a .wav -file) every now and then to spook the user , or to swiggle around all the windows on screen, or some other distortion/distraction.
(Because she is a crazy AI and all that… )
I thought if the effect is always the same at the same time intervals, it would grow old real quick, hence some randomness would be nice.
But there’s still the issue of making randomness of the thing to perform.
Let’s say I have aaa.wav, bbb.wav, ccc.wav, FunctionA, FunctionB, FunctionC of which I’d like to randomly pick one to perform/play. Can it be added to the above FvwmScript?