rule for irssi and binding cleanup

This commit is contained in:
crater2150 2011-01-06 02:25:46 +01:00
parent 5c0a868823
commit 31b4b333d3
2 changed files with 3 additions and 4 deletions

View file

@ -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),

View file

@ -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
} },
}
-- }}}