> Actually, what I would really like here is different: having a "collapsed"
> border mode. I currently have a 4px border around windows because I want a
> stronger indicator of focus. But this wastes a lot of pixels in a tile. If
> you are familiar with the "collapsible border model" of html, you should
> know what I mean: share the borders of the tile.
>
I am very interested about collapsed borders, or no borders but a gap
between windows. I managed to do a small, quick and dirty patch in Awesome
code in order to do both. Basically, it change the real windows size and
position by a small amount of pixels in low level of Awesome. If this
amount is positive, it leaves a space between windows, if it is negative
(for example, the border width), windows are overlaping.
When windows are overlaping, you need to change the 'focus' signal to raise
the focused client, so its border is shown on the top (this can be annoying
for floating windows):
client.add_signal("focus", function(c)
c.border_color = beautiful.border_focus
c:raise()
end)
Two screenshots to illustrate this:
4px collapsed border: http://img15.hostingpics.net/pics/650866snapshot3.png
6px gap between windows, no border, composition with compton:
http://img15.hostingpics.net/pics/500971snapshot4.png
The patch has to be applied on Awesome v3.4.13:
https://gist.github.com/4137836 (warning: this is the first time I edit
Awesome code, so use it at your own risk)