commit 90c44aefac1e00749c32b8fc73af1d5149f44ca2 parent fc7109440c655cbce1a3b93607d9a9714250ff04 Author: Kris Maglione <jg@suckless.org> Date: Wed, 18 Jul 2007 17:56:13 -0400 rc script to run event.dis. Diffstat:
| test/event | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/test/event b/test/event @@ -0,0 +1,19 @@ +#!/bin/rc + +wm='' +if(~ $1 -d) { + wm = '&wm/wm wm/logon</dev/null' + shift +} + +inferno '{$home/wmii/test/event.dis $*'$wm'}' $* & +inf = $apid + +. 9.rc + +fn sigint sigterm {exit} +fn sigexit {/bin/kill $apid} + +while(! ~ `{read </dev/tty} q) + true +