summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-12-02 16:54:03 +0100
committerAnton Khirnov <anton@khirnov.net>2020-12-02 16:54:03 +0100
commit26d0f94af5075c631222dd8df71946535cba6eb3 (patch)
tree37949db3bfe94574d84909cc1961df9a90bec52f
parent2272d9cb71149e0a6d28ae858492585359c5b098 (diff)
bindings: drop prompt functions I do not use
-rw-r--r--bindings.lua11
1 files changed, 1 insertions, 10 deletions
diff --git a/bindings.lua b/bindings.lua
index 8419a54..f23b074 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -84,17 +84,8 @@ function M.create(workspace)
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
- -- Prompt
- awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
-
- awful.key({ modkey }, "x",
- function ()
- awful.prompt.run({ prompt = "Run Lua code: " },
- mypromptbox[mouse.screen].widget,
- awful.util.eval, nil,
- awful.util.getdir("cache") .. "/history_eval")
- end),
+ -- Prompt
awful.key({ modkey }, "n",
function()
awful.prompt.run({ prompt = "Rename desktop: " },