On Thu, 16 Apr 2020 08:41:22 -0500 Ranjan Maitra <maitra@xxxxxxxxx> wrote: > The reason I need this is because the Cisco icon (that I need for VPN > because of required third-party 2FA) is very tiny and almost > impossible to see. It is time-consuming and distracting to constantly > have to hover over the icon to see whether it says Connected and > Disconnected. > > So, I am thinking of a small script that will check every second > (say) if VPN is on or off and then display accordingly. The script > part, I think I can write on my own. It is what th script will > do/call that i am having trouble with. So any suggestions as to what > I could do. Ed gave you the way to find out if it is connected. I found this on the web and use it as a quick timer when I want to be notified after a period of time. Start it from an xterm. It appears in whatever window you are currently working in. You should be able to trigger it with your logic. Hard to miss. Try it. sleep 1s && date && xterm -bg red -fg yellow -g 80x40 _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx