Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible in Awesome-WM to restrict a client window, namely my IM contact list, to a specific size?

share|improve this question

you need to make the window floating, so it is ignogrd in the tiling layouts. Adding this to the suggestion above:

-- [...]
{
    rule = { class = "your-app-class-here" },
    properties = { floating = true },
    callback = function( c )
                   c:geometry( { width = 200 , height = 800 } )
               end
},
-- [...]
share|improve this answer

Add a rule in your rc.lua in the table awful.rules.rules, for example:

-- [...]
{
    rule = { class = "your-app-class-here" },
    callback = function( c )
                   c:geometry( { width = 200 , height = 800 } )
               end
},
-- [...]
share|improve this answer
    
Thanks for the suggestion but it doesn't work for me. No matter what application I use for the class or what dimensions I put in, it doesn't change anything. – Kent Nov 24 '10 at 20:17
    
My bad, it DOES work. The extra height in your example extended below the bottom of my screen so I didn't see it. This doesn't do what I thought it would, however. When I go through the different layouts my contact list size changes anyway. – Kent Nov 24 '10 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .