shithub: rc

ref: 8d492b83859ade0e039dbed166d002c4e1e957e3
dir: /riostart/

View raw version
#!/bin/rc
switch($vgasize){
case 3840x2160x*
	window -r 3721 1877 3840 2160 games/catclock
	window -r 3032 934 3840 1882 mothra
	window -r 3280 1878 3725 2072 stats -lmsed
	window -r 3280 2068 3725 2116 volume
	window -scroll -r 3280 2112 3725 2160 'label shp; rc'
	window -r 2624 1878 3284 2160
	window -r 1968 1878 2628 2160
	window -r 1312 1878 1972 2160
	window -r 656 1878 1316 2160
	window -r 0 1878 660 2160
	window -r 0 1116 1005 1882 'label grid; rc'
	window -scroll -r 3180 0 3840 80 'label kprint; cat /dev/kprint'
	#window -scroll -r 3180 76 3840 126 'label ii; ii'
	window -r 3180 122 3840 202 tailirc
	window -scroll -r 3180 267 3840 848 'label irclog; tail /tmp/irc*!''#cat-v'''
	window -scroll -r 3180 150 3840 568
	window -scroll -r 1968 0 2628 568
	window -scroll -r 2624 0 3284 568
	window -r 1312 0 1972 568
	window -r 656 0 1316 568
	#window -scroll -r 2526 564 3186 938 'label aib; aib'
	window -scroll -r 2526 934 3036 1260 'label usbevent; cat /dev/usbevent'
	#window -r 0 0 660 568 mw
case 1920x1200x*
	#window -hide -r 1060 0 1920 1108 page lib/doc/igfx/hsw/intel-gfx-prm-osrc-hsw-commandreference-registers_0.pdf
	#window -hide -r 206 0 1065 1108 'page lib/doc/igfx/hsw/*display.pdf'
	#window -hide -r 0 0 1903 1200 'page lib/med/^(hem drm ifc rhu)^/col'
	window -r 840 1014 1244 1200 stats -lmsed
	window -r 714 924 844 1200 games/catclock
	window -scroll -r 840 970 1244 1018 'label shp; rc'
	window -r 840 924 1244 974 volume
	window -scroll -r 1240 0 1920 80 cat /dev/kprint
	#window -scroll -r 1241 76 1920 162
	#window -scroll -r 4 656 718 1200
	window -scroll -r 676 0 1262 162
	window -r 0 561 718 1200 'label zuke; rc'
	#window -r 676 158 1262 464
	#window -r 676 460 1262 928
	#window -r 1240 924 1920 1200
	#window -scroll -r 1258 828 1920 928
	#window -r 0 656 680 1200
	#window -r 0 0 680 660
case 1920x1080x*
	#window -r 886 0 1600 1112 'page lib/doc/igfx/hsw/^(*display.pdf *registers_0.pdf)'
	window -scroll -r 4 596 718 1080
	window 1240,596,1920,1080
	window 1258,332,1920,600
	window -scroll -r 1240 0 1920 101 cat /dev/kprint
	window -r 1240 97 1920 336
	window 840,894,1244,1080 stats -lmse
	window 714,805,844,1080 games/catclock
	window -scroll -r 840 850 1244 898 'label shp; rc'
	window -r 840 805 1244 854 volume
	window 676,398,1262,809
	window -scroll -r 676 0 1262 100
	window 676,96,1262,402
	window 0,596,680,1080
	window 0,0,680,600
case 1600x1200x*
	window -hide -r 8 224 888 1080 mothra
	window -hide -r 1240 632 1920 864 pc
	window -hide -r 1240 860 1920 1080 dict -d pgw
	#window -r 886 0 1600 1112 'page lib/doc/igfx/hsw/^(*display.pdf *registers_0.pdf)'
	window -r 840 1014 1244 1200 stats -lmsed
	window -r 714 924 844 1200 games/catclock
	window -scroll -r 840 970 1244 1018 'label shp; rc'
	window -r 840 924 1244 974 volume
	window -scroll -r 4 656 718 1200
	window -r 676 0 1262 464
	window -r 676 460 1262 928
	window -r 1240 716 1920 1200 'label lowr; rc'
	window -r 1258 332 1920 720 'label midr; rc'
	window -r 1240 0 1920 336 'label topr; rc'
	window -r 0 656 680 1200
	window -r 0 0 680 660
case 1400x1050x*
	window -hide -r 625 12 1390 838 mothra
	window -r 0 0 682 531
	window -r 0 527 682 1050
	window -r 679 902 812 1050 stats -lmse
	window -r 678 858 813 906 volume
	window -r 679 0 1400 531
	window -r 678 528 1400 861
	window -r 808 857 1400 1050
case 1366x768x*
	window -r 1256 620 1366 768 stats -lmsed
	window -r 1256 576 1366 624 volume
	window -scroll -r 1256 532 1366 580 'label shp; rc'
	#window -r 1256 254 1366 536 games/catclock
	window -r 660 380 1260 768
	window -r 0 380 664 768
	window -r 0 0 664 384
	window -scroll -r 991 0 1366 91 cat /dev/kprint
case 1280x800x*
	window -r 0 0 160 304 stats -lmsed
	window -r 0 300 160 348 volume
	window -scroll -r 0 344 160 392
	window -hide -r 66 0 836 718 mothra
	window -r 0 388 620 800
	window -r 616 0 1280 254
	window -r 156 0 654 392
	window -r 616 250 1280 800
case 1024x768x*
	window 422,0,1022,400
	window -r 0 0 161 117 stats -lmswe
	window 0,477,534,768
	window 0,114,534,482
	window 529,395,1024,768
	window 158,0,427,118
case 800x600x*
	window -r 0 0 160 232 stats -lmswed
	window -r 156 0 756 400
	window -r 0 226 132 512 games/catclock
case ''	# only u16
	window -r 0 0 160 116 stats -lmsed
	window -r 158 0 268 116 games/catclock
	window -scroll -r 264 0 594 115 tail -f /dev/kmesg
	window -r 0 112 594 500
	window -r 0 496 594 1024
	window -r 590 495 1280 1024
	window -hide -scroll -r 590 1 1280 499
	window -scroll -r 590 1 1280 499 tail -f lib/irc
case *
	window
}
window -hide -r 1818 1152 1920 1200 'label riow; riow </srv/riogkbd*'