From ff900f780a8146df174d31dfd5cd87884ad0aa6a Mon Sep 17 00:00:00 2001 From: Yessiest Date: Sun, 21 May 2023 15:14:35 +0400 Subject: [PATCH] Hotfix for applications-tab --- widgets/supermenu/applications-tab.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widgets/supermenu/applications-tab.lua b/widgets/supermenu/applications-tab.lua index a3ea011..077daf6 100644 --- a/widgets/supermenu/applications-tab.lua +++ b/widgets/supermenu/applications-tab.lua @@ -228,8 +228,9 @@ return function(args) awful.prompt.run { textbox = searchtext, exe_callback = function(command) - local results = xdg_search(command, args.rows*args.columns, sorting_method) + local results = xdg_search(command, math.huge, sorting_method) pager.list = {} + pager.index = 0 for _,v in pairs(results) do table.insert(pager.list,icon_cache:get( v[2].icon or beautiful.icon_default,