From 90d3d484d3cf2519abbe5e491bcfb3e209d9070a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 20 Feb 2017 11:15:39 +0100 Subject: Fix mypromptbox reference --- config/awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 17f43d8..9a274d5 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -294,7 +294,7 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, ";", function () awful.prompt.run({ prompt = "Run Lua code: " }, - mypromptbox[mouse.screen].widget, + awful.screen.focused().mypromptbox.widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") end), -- cgit v1.2.3