mirror of
https://github.com/0intro/wmii
synced 2024-11-24 06:39:47 +03:00
rc script to run event.dis.
This commit is contained in:
parent
fc7109440c
commit
90c44aefac
19
test/event
Executable file
19
test/event
Executable file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user