At Wed, 04 Mar 2009 06:42:04 +0100
DUFLOT Jean-Luc wrote:

> Hi,
> 
> When awesome starts, I have a client (ProcMeter3, a little system 
> monitoring application) which starts. Its position is at the top left 
> corner of the screen. I can size and move it manually, but I want to 
> make it starting elsewhere in the screen with rc.lua. I tried to use the 
> awful.client moveresize function , but I don't know how to use it and 
> where to put it. I searched for examples in the wiki rc.lua examples, 
> without success.
> 
> Could someone help me ?
> 
> Jean-Luc
> 
> 
> 
> 
> 

That is quite easily doable:

add a check to your manage hook which checks for client name, class or whatever
makes your window unique (check the output of xprop to see what the values on
that window are). Inside that check, execute c:geometry({ x = 10, y = 10,
height = 200, width = 64 }) (with your desired values, of course), that should
be it. If you don't want to give the height, for example, just omit it.

-- 
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+

    Gregor Best

Attachment: signature.asc
Description: PGP signature

Reply via email to