Tags layout updated.

This commit is contained in:
Kolan Sh 2012-12-07 11:48:53 +04:00
parent 83e4477fa8
commit 16f3fe10aa
3 changed files with 31 additions and 29 deletions

View File

@ -16,39 +16,41 @@ awful.rules.rules = {
{ rule = { class = "Aqemu" },
properties = { tag = tags[1][3] } },
{ rule = { class = "Gimp" },
properties = { floating = true, tag = tags[1][4] } },
properties = { floating = true, tag = tags[1][7] } },
{ rule = { class = "Soffice" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-writer" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-calc" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-draw" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-base" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-math" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-impress" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-startcenter" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "Okular" },
properties = { floating = false, tag = tags[1][5] } },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "Lyx" },
properties = { tag = tags[1][5] } },
properties = { tag = tags[1][4] } },
{ rule = { class = "Evince" },
properties = { tag = tags[1][5] } },
properties = { tag = tags[1][4] } },
{ rule = { class = "Qt Jambi application" },
properties = { tag = tags[1][6] } },
properties = { tag = tags[1][5] } },
{ rule = { class = "Pidgin" },
properties = { tag = tags[1][9] } },
{ rule = { class = "Stardict" },
properties = { tag = tags[1][8] } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "Texreport-gtk" },
properties = { floating = true } },
-- XTerm на пятом и шестом теге первого экрана
{ rule = { class = "XTerm" }, callback = function(c) c:tags({tags[1][5], tags[1][6]}) end},
-- { rule = { class = "XTerm" }, callback = function(c) c:tags({tags[1][4], tags[1][6]}) end},
}
-- }}}

View File

@ -1,13 +1,13 @@
floatapps =
{
["MPlayer"] = true,
["gimp"] = true,
["smplayer"] = true,
["gnome-mplayer"] = true,
}
--floatapps =
--{
-- ["MPlayer"] = true,
-- ["gimp"] = true,
-- ["smplayer"] = true,
-- ["gnome-mplayer"] = true,
--}
apptags =
{
["pidgin"] = { screen = 1, tag = 7 },
["stardict"] = { screen = 1, tag = 5 },
}
--apptags =
--{
-- ["pidgin"] = { screen = 1, tag = 7 },
-- ["stardict"] = { screen = 1, tag = 5 },
--}

6
rc.lua
View File

@ -8,7 +8,7 @@ require("beautiful")
require("naughty")
require("autostart")
require("apps")
-- require("apps")
require("volume")
require("vicious")
@ -82,8 +82,8 @@ layouts =
-- {{{ Tags
-- Define a tag table which will hold all screen tags.
tags = {
names = { "rxvt", "www", "vm", "gimp", "office",
"notes", "games", "dict", "im" },
names = { "term", "web", "vm", "office", "note",
"game", "gimp", "dict", "im" },
layout = { layouts[3], layouts[1], layouts[1], layouts[1], layouts[1],
layouts[1], layouts[1], layouts[1], layouts[2]
}}