shithub: rc

Download patch

ref: bcadcdd9c392635292948dbd9183cb52abb110c6
parent: 8d5df0101c63e13421362d4b31be059c071ed391
author: sl <sl@habu>
date: Mon Dec 15 22:37:10 EST 2025

r, vtb: no fonts are the right size.

--- a/r
+++ b/r
@@ -1,5 +1,5 @@
 #!/bin/rc
-# 2025-12-14T01:40:36-05:00
+# 2025-12-15T22:28:11-05:00
 # bof: http://shithub.us/qwx/fork/HEAD/info.html
 # rio.themes: https://ftrv.se/14
 # copy this file to $home/bin/rc and modify to suit.
@@ -12,7 +12,8 @@
 case 2*
 	font=/lib/font/contrib.bit/hugevga/unicode.font
 case 1504
-	font=/lib/font/bit/pelm/unicode.12.font
+	#font=/lib/font/bit/pelm/unicode.12.font
+	font=/lib/font/bit/lucidasans/unicode.10.font
 case 1440
 	font=/lib/font/bit/lucidasans/unicode.10.font
 case *
--- a/vtb
+++ b/vtb
@@ -1,13 +1,13 @@
 #!/bin/rc
-# 2024-09-27T21:44:28-04:00
+# 2025-12-15T22:29:13-05:00
 scr=(`{cat /dev/draw/new >[2]/dev/null})
 w=$scr(11)
 h=$scr(12)
-switch($w){
-case 28*
+switch($h){
+case 2*
 	font=/lib/font/contrib.bit/hugevga/unicode.font
-case 21* 22* 25*
-	#font=/lib/font/bit/fixed/unicode.10x20.font
-	font=/lib/font/bit/pelm/unicode.12.font
+case *
+	#font=/lib/font/bit/pelm/unicode.12.font
+	font=/lib/font/bit/fixed/unicode.10x20.font
 }
 vt -2b -f $font
--