changeset 100:d635f7e31032

'tock' function added: * Creates a sound effect near the end of a standard JT65 receive window for easier monitoring of transmissions without having to watch the app the whole time.
author Steve Huston <huston@srhuston.net>
date Wed, 18 Dec 2013 16:58:20 -0500
parents 3d2378f5856a
children d4af31b0867b
files .bash_aliases
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.bash_aliases	Thu Sep 12 07:50:24 2013 -0400
+++ b/.bash_aliases	Wed Dec 18 16:58:20 2013 -0500
@@ -150,6 +150,16 @@
 
 # Other Functions
 
+tock() {
+  while true ; do
+    if [ `date +%S` -gt 42 ] ; then
+      if [ `date +%S` -lt 47 ] ; then
+        afplay /System/Library/Sounds/Pop.aiff &
+      fi
+    fi
+    sleep 1
+  done > /dev/null 2>&1
+}
 
 update_toodledo() {
   case `hostname -s` in