From 31b4b333d3fca82e1cf401fa5cdd126d3f9d4a06 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Thu, 6 Jan 2011 02:25:46 +0100 Subject: [PATCH] rule for irssi and binding cleanup --- bindings.lua | 2 -- rules.lua | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bindings.lua b/bindings.lua index 6821384..c95c021 100644 --- a/bindings.lua +++ b/bindings.lua @@ -59,12 +59,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "f", function () awful.util.spawn("firefox") end), awful.key({ modkey, }, "t", function () awful.util.spawn("claws-mail") end), awful.key({ modkey, }, "p", function () awful.util.spawn("pidgin") end), - awful.key({ modkey, }, "s", function () awful.util.spawn("sunbird") end), awful.key({ modkey, }, "g", function () awful.util.spawn("gmpc") end), awful.key({ modkey, }, "w", function () awful.util.spawn("awsetbg -a -r /home/crater2150/.config/awesome/walls/ &") end), awful.key({ }, "XF86Mail", function () awful.util.spawn("xset dpms force off") end), awful.key({ }, "XF86Mail", function () awful.util.spawn("xset dpms force off") end), - awful.key({ modkey }, "XF86Mail", function () awful.util.spawn("urslock") end), awful.key({ modkey, "Control" }, "r", awesome.restart), awful.key({ modkey, "Shift" }, "q", awesome.quit), awful.key({ }, "Menu", aweswt.switch), diff --git a/rules.lua b/rules.lua index 9986c4d..33ce89e 100644 --- a/rules.lua +++ b/rules.lua @@ -1,5 +1,4 @@ --- {{{ Rules awful.rules.rules = { -- All clients will match this rule. { rule = { }, @@ -32,6 +31,9 @@ awful.rules.rules = { properties = { master = true } }, { rule = { role = "conversation" }, callback = awful.client.setslave}, + { rule = { instance = "Irssi"}, + properties = { tag = tags[1][3]} , + callback = awful.client.setslave}, { rule = { class = "Irssi"}, properties = { tag = tags[1][3]} , callback = awful.client.setslave}, @@ -60,4 +62,3 @@ awful.rules.rules = { fullscreen = true } }, } --- }}}