awesomerc: add default binding to access class/instance

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-12 18:13:51 +02:00
parent 57b7d39cdb
commit 03e03cda65

View file

@ -240,11 +240,18 @@ keybinding({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -
-- Prompt
keybinding({ modkey }, "F1", function ()
awful.prompt.run({ prompt = "Run: " }, mypromptbox, awful.spawn, awful.completion.bash)
end):add()
awful.prompt.run({ prompt = "Run: " }, mypromptbox, awful.spawn, awful.completion.bash)
end):add()
keybinding({ modkey }, "F4", function ()
awful.prompt.run({ prompt = "Run Lua code: " }, mypromptbox, awful.eval)
end):add()
awful.prompt.run({ prompt = "Run Lua code: " }, mypromptbox, awful.eval)
end):add()
keybinding({ modkey, "Ctrl" }, "i", function ()
if mypromptbox.text then
mypromptbox.text = nil
else
mypromptbox.text = "Class: " .. client.focus.class .. " Instance: ".. client.focus.instance
end
end):add()
--- Tabulous, tab manipulation
keybinding({ modkey, "Control" }, "y", function ()