From bef6d47dcbfb1844a1b50a3d9952bb64f4c3678d Mon Sep 17 00:00:00 2001 From: josiah Date: Sun, 13 Nov 2022 10:02:32 -0600 Subject: [PATCH] Rebind dumb lua default. --- .config/awesome/rc.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 7705dca..735bc04 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -488,16 +488,16 @@ globalkeys = gears.table.join( {description = "run prompt", group = "launcher"}), - -- This is maybe something usefull for folks but honestly always gets in my way. Just commenting out. - -- awful.key({ modkey }, "x", - -- function () - -- awful.prompt.run { - -- prompt = "Run Lua code: ", - -- textbox = awful.screen.focused().mypromptbox.widget, - -- exe_callback = awful.util.eval, - -- history_path = awful.util.get_cache_dir() .. "/history_eval" - -- } - -- end) + -- This is maybe something usefull for folks but honestly always gets in my way. + awful.key({ modkey }, "|", + function () + awful.prompt.run { + prompt = "Run Lua code: ", + textbox = awful.screen.focused().mypromptbox.widget, + exe_callback = awful.util.eval, + history_path = awful.util.get_cache_dir() .. "/history_eval" + } + end) ) -- {description = "lua execute prompt", group = "awesome"}), -- Menubar