change also init.lua, remove spaces from field

This commit is contained in:
ThanosApostolou 2018-09-16 18:21:38 +03:00
parent 525c7808d4
commit b814c1e620
2 changed files with 5 additions and 5 deletions

View File

@ -386,8 +386,8 @@ local function prompt_keypressed_callback(mod, key, comm)
current_item = #shownitems
if mod.Mod1 then
-- add a terminal to the cmdline
shownitems[current_item].cmdline = menubar.utils.terminal
.. " -e " .. shownitems[current_item].cmdline
shownitems[current_item].cmdline = menubar.utils.terminal .. ' ' ..
menubar.utils.terminal_execute_option .. ' ' .. shownitems[current_item].cmdline
end
end
return perform_action(shownitems[current_item])

View File

@ -404,7 +404,7 @@ function utils.parse_desktop_file(file)
cmdline = cmdline:gsub('%%i', '')
end
if program.Terminal == true then
cmdline = utils.terminal .. utils.terminal_execute_option .. cmdline
cmdline = utils.terminal .. ' ' .. utils.terminal_execute_option .. ' ' .. cmdline
end
program.cmdline = cmdline
end