LINUX.ORG.RU

История изменений

Исправление NeverLoved, (текущая версия) :

awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
      properties = { border_width = beautiful.border_width,
                     border_color = beautiful.border_normal,
                     focus = true,
                     keys = clientkeys,
                     buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
      properties = { floating = false } },
    { rule = { class = "pinentry" },
      properties = { floating = true } },
    { rule = { class = "gimp" },
      properties = { floating = true } },
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    --   properties = { tag = tags[1][2] } },
    { rule = { class = "Lxterminal"}, 
	properties = { tag = tags[1][2] } },
    { rule = { class = "Wine"},
        properties = { tag = tags[1][6] } },
    { rule = { class = "Steam"},
        properties = { tag = tags[1][6] } },
    { rule = { class = "sun-awt-X11-XFramePeer"},
        properties = { tag = tags[1][3] } },
    { rule = { class = "Pidgin"},
        properties = { tag = tags[1][4] } },
    { rule = { class = "Skype"},
        properties = { tag = tags[1][4] } },
    { rule = { class = "Audacious"},
        properties = { tag = tags[1][5] } },
    { rule = { class = "Opera"}, 
        properties = { tag = tags[1][1] } },
}

Моё, например.

Исходная версия NeverLoved, :

[code]awful.rules.rules = {
 — All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = true,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = «MPlayer» },
properties = { floating = false } },
{ rule = { class = «pinentry» },
properties = { floating = true } },
{ rule = { class = «gimp» },
properties = { floating = true } },
 — Set Firefox to always map on tags number 2 of screen 1.
 — { rule = { class = «Firefox» },
 — properties = { tag = tags[1][2] } },
{ rule = { class = «Lxterminal»},
properties = { tag = tags[1][2] } },
{ rule = { class = «Wine»},
properties = { tag = tags[1][6] } },
{ rule = { class = «Steam»},
properties = { tag = tags[1][6] } },
{ rule = { class = «sun-awt-X11-XFramePeer»},
properties = { tag = tags[1][3] } },
{ rule = { class = «Pidgin»},
properties = { tag = tags[1][4] } },
{ rule = { class = «Skype»},
properties = { tag = tags[1][4] } },
{ rule = { class = «Audacious»},
properties = { tag = tags[1][5] } },
{ rule = { class = «Opera»},
properties = { tag = tags[1][1] } },
}
[/code]

Моё, например.