0

During my work i run some bash scripts on linux terminal that takes 5 to 6 minutes to complete. I would like to append some command on that scripts, so that when it finish, it shows some visual feedback on the cinnamon window, like a blink or somethink like.

For now I use the espeak command to send me some sound, but it's not so good, since most of the time I don't work using earphones.

alexpfx
  • 101

1 Answers1

1

You can make your screen "blink" by refreshing it.

for (( i=1 ; i<=5 ; i++ ))
do
  xrefresh -solid blue
  xrefresh -solid red
  xrefresh -solid green
  sleep 0.01
done

This should get your attention and get you in the mood for some epileptic dancing. Tune it up or down to your liking or just use part of your screen (-geometry option).

FelixJN
  • 13,566