commit 6314927

hovercats  ·  2023-02-05 12:03:35 +0000 UTC
parent 83947b6
drop drawterm
1 files changed,  +0, -16
+0, -16
 1@@ -1,16 +0,0 @@
 2-#!/bin/sh
 3-
 4-# draw a new terminal
 5-# requires xrectsel
 6-
 7-wf=8
 8-hf=19
 9-ib=2
10-ob=8
11-
12-xrectsel | tr 'x+' ' ' | {
13-read w h x y
14-w=$(( ( w - (ib + ob)*2 ) / wf ))
15-h=$(( ( h - (ib + ob)*2 ) / hf ))
16-exec st -g ${w}x${h}+${x}+${y}
17-}