From 26d0f94af5075c631222dd8df71946535cba6eb3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 2 Dec 2020 16:54:03 +0100 Subject: bindings: drop prompt functions I do not use --- bindings.lua | 11 +---------- 1 file changed, 1 insertion(+), 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: " }, -- cgit v1.2.3