Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- FRASES=( "Abra a droga do thunderbird!" "Vai olhar os emails, caralhooo!!!!" \
- "Sua mãe mandou um email" "Thunderbird lhe espera" )
- while true; do
- if [[ -z $(systemd-cgls | grep thunderbird | grep -v grep) ]] ; then
- notify-send "${FRASES[$RANDOM % ${#FRASES[@]}]}"
- else
- break
- fi
- sleep 5
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement