Guest User

Untitled

a guest
Feb 15th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. # notification
  2. notify-send "my title" "hello world"
  3.  
  4. # text-to-speech
  5. spd-say "hello world"
  6.  
  7. # pop-up dialog
  8. zenity --info --text="hello world"
  9.  
  10. ## to notify when a process ends, you have two options
  11. # 1. if you know you want to notify *before* running the process:
  12. command ; spd-say "process completed"
  13.  
  14. # 2. if the process is already running, pause with CTRL+Z and resume with `fg`:
  15. command # (already running)
  16. # hit CTRL+Z to pause the job
  17. fg ; spd-say "process completed"
Add Comment
Please, Sign In to add comment