💾 Archived View for runjimmyrunrunyoufuckerrun.com › rc › winbounce captured on 2022-03-01 at 15:21:36.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
#!/bin/rc rfork e echo resize -r 0 0 99999 99999 >/dev/wctl r = `{read -c 48 /dev/wctl} wd = `{echo $r(3) $r(1) -p | dc} ht = `{echo $r(4) $r(2) -p | dc} r = (0 0 400 300) while(){ if(~ $r(1) 0) x = 1 if(~ $r(2) 0) y = 1 if(~ $r(3) $wd) x = _1 if(~ $r(4) $ht) y = _1 r = `{echo $r(1) $x +p $r(2) $y +p $r(3) $x +p $r(4) $y +p | dc} echo resize -r $r >/dev/wctl }