shithub: rc

ref: 6df9312492956c6f8a9ac74a40e30a421d07430c
dir: /bin/qw/

View raw version
#!/bin/rc
rfork ne
switch($sysname){
case t61p2 t61p
	res=(-dx 982 -dy 738)
case w500 x220 w520
	res=(-dx 1032 -dy 776)
case hsw
	res=(-dx 1608 -dy 1208)
case *
	res=(-dx 808 -dy 608)
}
echo resize $res >/dev/wctl
bind -q /sys/games/lib/quake/cd /mnt/cd	# cdfs(4)
games/qwcl $* >/dev/null