i want to assign terminal commands to menu items but i'm not getting it.

i assign commands to variable like...
local commands = {}
commands.mail = "chromium http://gmail.com";

commands.suspend = "systemclt suspend"
commands.background = "~/bin/add.sh"

then put it in the menu like...

    { "background", commands.background },


mail works but suspend and the bash script do not

or does 

commands. background = "feh --bg-tile ~/background.png"

what am i missing?

also, if they commands dont run how do i see the error they produce?

Reply via email to