Fix web search prompt not working

This commit is contained in:
elenapan 2020-04-07 04:03:57 +03:00
parent 3f26ae4796
commit 33c4a16cdc

View file

@ -372,7 +372,7 @@ function helpers.prompt(action, textbox, prompt, callback)
done_callback = callback,
exe_callback = function(input)
if not input or #input == 0 then return end
awful.spawn.with_shell(user.web_search_cmd.."\""..input.."\"")
awful.spawn.with_shell("noglob "..user.web_search_cmd.."'"..input.."'")
naughty.notify { title = "Searching the web for", text = input, icon = icons.firefox }
end
}