shithub: rc

ref: e38100c90d38ced7099be43743c0afdaabd2634f
dir: /bin/riostart/

View raw version
#!/bin/rc
sizes
. /tmp/sizes.$sysname
window -scroll -r $kprintrect cat /dev/kprint
window -r $catrect games/catclock
window -r $volrect volume
#window -r $duckrect mothra

if(test -f /dev/battery)
	window -r $statrect stats -blmsez -T 10
if not
	window -r $statrect stats -lmsez

window -r $riowrect 'label riow; Riow'
{ sleep 0.5; window -scroll -r $cmdrect 'label cmd; rc' } &