Application Positions at Specific Tags of the Current Screen.

This commit is contained in:
Kolan Sh 2013-12-18 12:09:30 +04:00
parent fb48ce0b63
commit fd27123164
1 changed files with 27 additions and 27 deletions

54
rc.lua
View File

@ -524,63 +524,63 @@ awful.rules.rules = {
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "URxvt" },
properties = { tag = tags[1][1] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][1], c) end },
{ rule = { class = "Firefox" },
properties = { tag = tags[1][2] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][2], c) end },
{ rule = { class = "Thunderbird" },
properties = { tag = tags[1][2] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][2], c) end },
{ rule = { class = "Liferea" },
properties = { tag = tags[1][2] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][2], c) end },
{ rule = { class = "VirtualBox" },
properties = { tag = tags[1][3] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][3], c) end },
{ rule = { class = "Remmina" },
properties = { tag = tags[1][3] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][3], c) end },
{ rule = { class = "Spicy" },
properties = { tag = tags[1][3] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][3], c) end },
{ rule = { class = "Aqemu" },
properties = { tag = tags[1][3] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][3], c) end },
{ rule = { class = "Soffice" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "LibreOffice" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-writer" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-calc" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-draw" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-base" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-math" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-impress" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "libreoffice-startcenter" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "Okular" },
properties = { floating = false, tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "Lyx" },
properties = { tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "Evince" },
properties = { tag = tags[1][4] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][4], c) end },
{ rule = { class = "Qt Jambi application" },
properties = { tag = tags[1][5] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][5], c) end },
{ rule = { class = "Pidgin" },
properties = { tag = tags[1][9] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][9], c) end },
{ rule = { class = "Stardict" },
properties = { tag = tags[1][8] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][8], c) end },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "Texreport-gtk" },
properties = { floating = true } },
{ rule = { class = "etracer" },
properties = { tag = tags[1][6] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][6], c) end },
{ rule = { class = "Eboard" },
properties = { tag = tags[1][6] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][6], c) end },
{ rule = { class = "charleygame-bin" },
properties = { tag = tags[1][6] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][6], c) end },
{ rule = { class = "lincity-ng" },
properties = { tag = tags[1][6] } },
callback = function(c) awful.client.movetotag(tags[mouse.screen][6], c) end },
-- XTerm на пятом и шестом теге первого экрана
-- { rule = { class = "XTerm" }, callback = function(c) c:tags({tags[1][4], tags[1][6]}) end},
}