On Thu, 11 Dec 2008, Alex Kilgore wrote:
> Alex Kilgore wrote:
>> Aditya Mahajan wrote:
>>> Hi,
>>> 
>>> I am using wmii-hg2409. Is it possible to change the geometry of the 
>>> windows using the file system. I would like to map some keyboard keys to 
>>> increase/decearse the width of the columns.
>>> 
>>> Thanks,
>>> Aditya
>>> 
>>> 
>>> 
>> Hi,
>> you can accomplish this using the grow command, it is documented i think 
>> somewhere...
>> but it looks something like
>> wmiir xwrite /tag/<tag>/ctl grow <column> <client> <direction> <amt>
>> Alex
>> 
> to clarify, an example of this would be like
> wmiir xwrite /tag/sel/ctl grow 1 1 right 2
Thanks. I ended up adding the following to my rc.wmii.local
   fn Key-$MODKEY-Control-$LEFT  { wmiir xwrite /tag/sel/ctl grow sel sel 
left }
   fn Key-$MODKEY-Control-$RIGHT { wmiir xwrite /tag/sel/ctl grow sel sel 
right}
   fn Key-$MODKEY-Control-$UP    { wmiir xwrite /tag/sel/ctl grow sel sel 
up }
   fn Key-$MODKEY-Control-$DOWN  { wmiir xwrite /tag/sel/ctl grow sel sel 
down}
   fn Key-$MODKEY-Mod1-$LEFT  { wmiir xwrite /tag/sel/ctl grow sel sel left 
-1}
   fn Key-$MODKEY-Mod1-$RIGHT { wmiir xwrite /tag/sel/ctl grow sel sel 
right -1}
   fn Key-$MODKEY-Mod1-$UP    { wmiir xwrite /tag/sel/ctl grow sel sel up 
-1}
   fn Key-$MODKEY-Mod1-$DOWN  { wmiir xwrite /tag/sel/ctl grow sel sel down 
-1}
Aditya
Received on Thu Dec 11 2008 - 17:23:25 UTC
This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 17:36:05 UTC