I have wrote a script, and i am running xmonad and default terminal termite;just saying if it is important :), maybe there is a solution in xmonad.
, ((altMask, xK_x),
spawn "termite --hold -e /home/emre/pipix.sh")
when i type in terminal
timeout 30 script.sh
it seems working. However when i type
termite --hold -e timeout 5 pipi.sh
I got this warning message
Try 'timeout --help' for more information.
What am i doing wrong or how can i make it work?