From fd27123164b03ed5658045fd79ac911a3c3d0499 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 18 Dec 2013 12:09:30 +0400 Subject: [PATCH] Application Positions at Specific Tags of the Current Screen. --- rc.lua | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/rc.lua b/rc.lua index 42b011c..2fb0661 100644 --- a/rc.lua +++ b/rc.lua @@ -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}, }