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
1 changed files with 11 additions and 4 deletions

View File

@ -245,6 +245,13 @@ keybinding({ modkey }, "F1", function ()
keybinding({ modkey }, "F4", function ()
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 ()