[wiki] [sandbox.suckless.org] Fix a thing with the client search menu code snippet || Luka Novsak
changeset: 124:d85c84b65298
tag: tip
user: Luka Novsak <lukanovsak_AT_gmail.com>
date: Thu Jun 25 22:17:04 2009 +0200
files: wmii.suckless.org/code_snippets/plan_9_port/index.md
description:
Fix a thing with the client search menu code snippet
diff -r c113cf11d44b -r d85c84b65298 wmii.suckless.org/code_snippets/plan_9_port/index.md
--- a/wmii.suckless.org/code_snippets/plan_9_port/index.md Thu Jun 25 10:32:55 2009 +0200
+++ b/wmii.suckless.org/code_snippets/plan_9_port/index.md Thu Jun 25 22:17:04 2009 +0200
_AT_@ -145,16 +145,16 @@
key $MODKEY-A-^(a b c d e f g h i j k l m n o p q r s t u v w x y z) || fn $key {
TagCycle $1}
-Find and go to clients
-----------------------
+Find and go to client
+---------------------
fn title {
- echo `{wmiir read /client/$1/label}}
+ echo -n `{wmiir read /client/$1/label}}
fn focusclient {
tag=`{wmiir read /client/$1/tags | cut -d+ -f1}
- wmiir xwrite /ctl view $tag
- wmiir xwrite /tag/$tag/ctl select client $1}
+ wmiir xwrite /tag/$tag/ctl select client $1
+ wmiir xwrite /ctl view $tag}
key $MODKEY-u || fn $key {
ifs=$wi_nl {
Received on Thu Jun 25 2009 - 22:17:29 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:30:40 CEST