shithub: rc

ref: 24deadf3d2ae91c3fe687dc6af9122aae6bd9563
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' } &