You are not logged in.

#1 2011-02-24 08:45:15

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

[solved] awesome tag confusion

In my awesome rc.lua I create my layouts and tags like this:

-- layouts
layouts =
{
    awful.layout.suit.tile,
    awful.layout.suit.floating,
    awful.layout.suit.tile.left,
    awful.layout.suit.tile.bottom,
    awful.layout.suit.tile.top,
    awful.layout.suit.fair,
    awful.layout.suit.fair.horizontal,
    awful.layout.suit.spiral,
    awful.layout.suit.spiral.dwindle,
    awful.layout.suit.max,
    awful.layout.suit.max.fullscreen,
    awful.layout.suit.magnifier
}

-- tags
tags = {}
for s = 1, screen.count() do
    tags[s] = awful.tag({ "main", "www", "mail", "files", "code", "mm", 7, 8, 9}, s,
        { layouts[1], layouts[1], layouts[1],          -- tags: 1, 2, 3
          layouts[6], layouts[6], layouts[1],          --       4, 5 ,6
          layouts[2], layouts[1], layouts[1]           --       7, 8, 9
        })
end

Then I put some rules how certain programs should be tagged:

-- client rules
awful.rules.rules = {
    -- default
    { rule = { },
        properties = { border_width = beautiful.border_width,
            border_color = beautiful.border_normal,
            focus = true,
            keys = clientkeys,
            buttons = clientbuttons } },
    -- additional rules
    { rule = { class = "pinentry" },
        properties = { floating = true } },
    -- (...)
    { rule = { class = "Nautilus" },
        properties = { tag = tags[1][4] } }
}

As you can see I put Nautilus on tag four, which works very well. Now the actual problem: when I open a terminal (or any other window) on that tag with Nautilus on, the two windows don't get tiled aside of each other (as the layout dictates). Instead, the new window is put above the Nautilus window, and takes the whole space. If I open another terminal then the two terminals are put correctly, side by side. The problem occurs with any other program I handle in the config, not only Nautilus.

Why does awesome treat the tag like being empty, and only arranges additional windows, ignoring the existing one? Did I get something wrong? smile

Thanks for any enlightenment! smile

Last edited by lynix (2011-03-09 22:13:18)

Offline

#2 2011-02-26 03:52:09

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [solved] awesome tag confusion

Your Nautilus seems to be maximized (as in state) https://awesome.naquadah.org/wiki/FAQ#W … e_tiled.3F


You need to install an RTFM interface.

Offline

#3 2011-03-09 22:12:57

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: [solved] awesome tag confusion

Thaks, that did it smile

Offline

Board footer

Powered by FluxBB