test-notifications.sh 305 B

12345678910
  1. #!/bin/bash
  2. if [ -x "$(command -v notify-send)" ]; then
  3. for i in {1..20}
  4. do
  5. notify-send "Notification $i" "This is some test details for notification $i that can be descriptive of what the notification is about."
  6. done
  7. else
  8. echo 'notify-send package is not install. Please install and try again.'
  9. fi