mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
20 lines
240 B
Bash
Executable File
20 lines
240 B
Bash
Executable File
#!/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
|
|
|