shithub: ninethings

Download patch

ref: 3e8831a56c04e4c464b42956a5e2211a67afda7b
parent: 40a2f3f8bad01abb94bbfcc2b282a0bfa95e6f92
author: Aaron Bieber <aaron@bolddaemon.com>
date: Wed Nov 29 17:05:32 EST 2023

profile: consolidate mouse opts, move factotum to termrc.local

--- a/profile
+++ b/profile
@@ -3,6 +3,8 @@
 
 upasname='aaron@bolddaemon.com'
 
+mouse_opts=(accelerated 'res 3' 'blanktime 5')
+
 go_version=1.21.3
 go_path=/sys/lib/go/$objtype-$go_version
 if(test -d $go_path){
@@ -24,13 +26,12 @@
 
 	if(! ~ $machine 'imx8')
 		aux/acpi
-	
-	auth/factotum
+
 	webcookies
 	webfs
 	plumber
-	echo -n accelerated > '#m/mousectl'
-	echo -n 'res 3' > '#m/mousectl'
+
+	for(o in $mouse_opts) echo -n $o >'#m/mousectl'
 	prompt=('% ' '	')
 	fn term%{ $* }
 	rio -i riostart