You are not logged in.
I want to use both notify-send and espeak in "Run on new messages:" on Mail Watcher Plugin at the same time.
I did try notify-send "New mail" "You have new messages in your inbox" -i xfce-newmail & espeak "You got mail!". But nothing happen. The "&" works in Terminal but not in Mail Watcher.
Can anyone help me?
Last edited by ABOhiccups (2017-10-01 06:09:18)
Offline
Please edit your post and remove the redundant plea for help: https://wiki.archlinux.org/index.php/Co … ow_to_post
`&` backgrounds commands in the shell, it doesn't chain them if the previous one succeeded, that is `&&`.
Moving to NC...
Offline
`&` backgrounds commands in the shell, it doesn't chain them if the previous one succeeded, that is `&&`.
I did try "&&" it does not work in Mail Watcher. Only works in Terminal.
"||" don't work in Mail Watcher too.
Last edited by ABOhiccups (2017-10-01 05:41:19)
Offline
The only way to run multiple commands in Mail Watcher.
I have to create a Bash Script for this to work.
#!/bin/sh
notify-send "New mail" "You have new messages in your inbox" -i xfce-newmail
espeak "You got mail!"Offline