You are not logged in.

#1 2013-04-18 23:19:11

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

[SOLVED] Awesome - Wanted to add space between windows in tiling mode.

I've been going through the Awesome wiki but I am struggling to find a way to add a few pixels of space in between the windows in tiling mode.  Is this possible without making the borders thicker?

Last edited by z1lt0id (2013-04-19 23:19:16)

Offline

#2 2013-04-18 23:27:17

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

Take a look at awesome-vain on GitHub. As these layouts may not work with Awesome 3.5, you could try using my layouts (adapted from vain's layouts): https://github.com/Stebalien/awesomewm-config


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2013-04-18 23:29:29

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

Thanks Stebalien,

Unfortunately I'm not at my home pc now to check this out but I'll definitely look at it.  Could you post a screenie of the layout if possible?  It would be truly appreciated smile

Offline

#4 2013-04-19 00:35:43

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

Here is a screenshot of one of the layouts (the gap is configurable): taTU1eg


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2013-04-19 03:11:01

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

So I'm guessing this line is the culprit

theme.useless_gap_width = 10

Offline

#6 2013-04-19 03:12:14

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

That specifies the width of the gaps but you still need to use the custom layouts (see the top of my rc.lua and the layouts folder).


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#7 2013-04-19 03:17:13

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

So I would need to put the following in my rc.lua

-- layouts
layouts = require("layouts")
    layouts.uselesstile,
    layouts.termfair,
    layouts.browse,
}

And then copy your layouts directory to the appropriate place.

Offline

#8 2013-04-19 17:46:52

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

Not exactly. My rc.lua is confusing because it overwrites the layout's variable. While this doesn't cause any problems, it wasn't intentional. You should really have something like:

my_layouts = require("layouts")
local layouts = {
    my_layouts.uselesstile,
    my_layouts.termfair,
    my_layouts.browse,
}

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#9 2013-04-19 23:18:49

z1lt0id
Member
Registered: 2012-09-20
Posts: 168

Re: [SOLVED] Awesome - Wanted to add space between windows in tiling mode.

Thanks for that I got it to work.  Really appreciate your help smile

Offline

Board footer

Powered by FluxBB