shithub: rc

Download patch

ref: 56e28c1217ebec45eaa2850bbf9e98ddd44ca5de
parent: 27d4d3d8caa4fd97343bb2712147cb4b20f4580a
author: qwx <[email protected]>
date: Sun Sep 18 19:26:57 EDT 2022

riostart: new acpi(8) mountpoint

--- a/bin/riostart
+++ b/bin/riostart
@@ -5,9 +5,11 @@
 window -r $catrect games/catclock
 window -r $volrect volume
 #window -r $duckrect mothra
-if(test -f /mnt/pm/battery)
+
+if(test -f /dev/battery)
 	window -r $statrect stats -blmsez -T 10
 if not
 	window -r $statrect stats -lmsez
+
 window -r $riowrect 'label riow; Riow'
 { sleep 0.5; window -scroll -r $cmdrect 'label cmd; rc' } &