.config/awesome/rc.lua

This commit is contained in:
Tom Willemsen 2012-09-16 23:41:03 +02:00
parent bbc17210a1
commit 0c2db260cd

View file

@ -351,12 +351,18 @@ globalkeys = awful.util.table.join(
sub({ }, "e", sub({ }, "e",
function () oni.run_or_raise("emacsclient -c -a emacs", function () oni.run_or_raise("emacsclient -c -a emacs",
{ class = "Emacs" }) end), { class = "Emacs" }) end),
sub({ "Shift", }, "e",
function () awful.util.spawn("emacsclient -c -a emacs") end),
sub({ }, "c", sub({ }, "c",
function () oni.run_or_raise("urxvt", function () oni.run_or_raise("urxvt",
{ class = "URxvt" }) end), { class = "URxvt" }) end),
sub({ "Shift", }, "c",
function () awful.util.spawn("urxvt") end),
sub({ }, "w", sub({ }, "w",
function () oni.run_or_raise("conkeror", function () oni.run_or_raise("conkeror",
{ class = "Conkeror" }) end) }), { class = "Conkeror" }) end),
sub({ "Shift", }, "w",
function () awful.util.spawn("conkeror") end) }),
awful.key({ "Control", "Mod1" }, "l", awful.key({ "Control", "Mod1" }, "l",
function () awful.util.spawn("i3lock -c 000000") end), function () awful.util.spawn("i3lock -c 000000") end),
awful.key({ modkey, }, "Left", awful.tag.viewprev ), awful.key({ modkey, }, "Left", awful.tag.viewprev ),