diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-10 01:42:19 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-10 01:42:19 +0100 |
commit | 7fbce6e22656d145dc1bf5f72a36308ce4811530 (patch) | |
tree | 6c2af641f9174cc682e067111263d17b8f6bbb16 | |
parent | 268bcb00f65019283dc4b8f9dab72b0764616d1b (diff) | |
download | awesome-configs-7fbce6e22656d145dc1bf5f72a36308ce4811530.tar.xz |
rc.lua: bring back the Web prompt
-rw-r--r-- | rc.lua | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -351,7 +351,14 @@ globalkeys = awful.util.table.join( end) end), awful.key({ altkey }, "F4", function () - awful.prompt.run({ prompt = "Run Lua code: " }, promptbox[mouse.screen].widget, + awful.prompt.run({ prompt = "Web: " }, promptbox[mouse.screen].widget, + function (command) + sexec("firefox 'http://yubnub.org/parser/parse?command="..command.."'") + awful.tag.viewonly(tags[screen.count()][3]) + end) + end), + awful.key({ altkey }, "F5", function () + awful.prompt.run({ prompt = "Lua: " }, promptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") end), -- }}} |