changeset: 2649:0ad4aab86f50
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Thu May 27 12:16:55 2010 -0400
files: cmd/wmii.sh.sh
description:
Use wi_readevent in wmii.sh eventloop, too.
diff -r e86a0006e189 -r 0ad4aab86f50 cmd/wmii.sh.sh
--- a/cmd/wmii.sh.sh Thu May 27 12:12:28 2010 -0400
+++ b/cmd/wmii.sh.sh Thu May 27 12:16:55 2010 -0400
@@ -190,10 +190,14 @@
wmiir read /client/sel/ctl | sed 1q | tr -d '\012'
}
+wi_readevent() {
+ wmiir read /event
+}
+
wi_eventloop() {
echo "$Keys" | wmiir write /keys
- wmiir read /event | while read wi_event
+ wi_readevent | while read wi_event
do
IFS="$wi_newline"
wi_arg=$(echo "$wi_event" | sed 's/^[^ ]* //')
Received on Thu May 27 2010 - 16:17:05 UTC
This archive was generated by hypermail 2.2.0 : Thu May 27 2010 - 16:24:05 UTC