ref: b8dbe6d8b0aecb09d12436cd2c3585b1bc982b93
parent: a257f0331b11aa987a0a93eb5338d6b10c5fb24e
author: qwx <qwx@sciops.net>
date: Mon Mar 21 23:45:38 EDT 2022
riostart: use aux/acpi
--- a/bin/riostart
+++ b/bin/riostart
@@ -4,7 +4,10 @@
window -scroll -r $kprintrect cat /dev/kprint
window -r $catrect games/catclock
window -r $volrect volume
-window -r $statrect stats -lmsedz
+if(test -f /mnt/acpi/battery)
+ window -r $statrect stats -blmsez -T 10
+if not
+ window -r $statrect stats -lmsez
window -r $riowrect 'label riow;
fn bar{
sed -u ''s/$/│⏵│⏸│⏭│⏶│⏷/g'' \