#!/bin/rc scr=(`{cat /dev/draw/new >[2]/dev/null}) w=$scr(11) h=$scr(12) if(~ $w 640 && ~ $h 480) # nothing to see here if not if(~ $w 1024 && ~ $h 768) window -r 0 36 1024 768 'label equis; r d 8; X11/equis' if not if(~ $w 1280 && ~ $h 800) window -r 0 36 1280 800 'label equis; r d 8; X11/equis' if not if(~ $w 1280 && ~ $h 1024) window -r 0 36 1280 1024 'label equis; r d 8; X11/equis' if not if(~ $w 1680 && ~ $h 1050) window -r 125 36 1546 1050 'label equis; r d 8; X11/equis' if not if(~ $w 1920 && ~ $h 1080){ window -r 130 36 1793 1062 'label equis; r d 8; X11/equis'