mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awesomerc: add default binding to access class/instance
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
57b7d39cdb
commit
03e03cda65
1 changed files with 11 additions and 4 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue