Awesome-WM restrict client size

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


Solution 1:

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
},
-- [...]

Solution 2:

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
},
-- [...]