shithub: riow

Download patch

ref: 092f29dc1f95cebedf11cd29aad4f07756b51e74
parent: 92b2606926a90158e8c9c6ecb0c73c93e5ac424b
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Mar 29 13:53:27 EDT 2020

update readme and run gkbd from riow

--- a/README.md
+++ b/README.md
@@ -12,9 +12,16 @@
 What's all this racket going up here, son. Are you playing with your rio's color scheme again?
 It's not COLORS, it's ADVANCED WINDOWS MANAGEMENT SYSTEM! Here, watch this:
 
-gkbd < /srv/*gkbd* | awk '/k glenda enter/ { system("window"); }
+riow < /srv/*gkbd*
 ```
 
 ## WARNING
 
 No guarantees, use at your own risk and blah.
+
+## Keys
+
+```
+G-f       toggle fullscreen for the current window
+G-enter   start a new window
+```
--- a/mkfile
+++ b/mkfile
@@ -1,7 +1,7 @@
 </$objtype/mkfile
 
 TARG=gkbd
-BIN=/$objtype/bin/
+BIN=/$objtype/bin
 
 OFILES=\
 	gkbd.$O\
@@ -9,3 +9,8 @@
 default:V:	all
 
 </sys/src/cmd/mkone
+
+install:V: $BIN/$TARG $BIN/riow
+
+$BIN/riow: riow
+	cp $prereq $target
--- a/riow
+++ b/riow
@@ -67,6 +67,6 @@
 		fullscreen
 }
 
-while(s=`{read}){
+gkbd | while(s=`{read }){
 	handle $s
 }