5 wmii
.write ("/lbar/1", '#FF0000 #00FF00 #0000FF xxx')
7 foo
= wmii
.read ("/lbar/1")
8 print ("read /lbar/1 ::\n" .. foo
.. "\n")
11 for foo
in wmii
.ls ("/") do
16 print ("ls -l /lbar ::")
17 for foo
in wmii
.ls ("/lbar", "-l") do
22 print ("switch view left...")
25 print ("switch view right...")
30 print ("toggle view...")
33 print ("toggle view...")
38 print ("read some events...\n")
39 for x in wmii.iread("/event") do
40 print ("ev: " .. x .. "\n")
42 for x,y in wmii.ievents() do
43 print ("ev: " .. x .. " - " .. y)