Is it possible in Awesome-WM to restrict a client window, namely my IM contact list, to a specific size?
Asked
Active
Viewed 3,770 times
2 Answers
8
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
},
-- [...]
mavu
- 161
- 1
- 4
1
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
},
-- [...]
cYrus
- 21,379
- 8
- 74
- 79
-
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