diff options
Diffstat (limited to 'xalarm')
| -rwxr-xr-x | xalarm | 7 | 
1 files changed, 5 insertions, 2 deletions
@@ -30,7 +30,7 @@ function xalarm_set {    # Sleep implementation    sleep $DELAY -  if which sm 2> /dev/null; then +  if which sm &> /dev/null; then      sm -f '#ffffff' -b '#1c1c1c' $MESSAGE    else      xmessage $MESSAGE @@ -64,9 +64,12 @@ elif [ "$1" == "cancel" ] || [ "$1" == "kill" ]; then  elif [ "$1" == "help" ] || [ "$1" == "usage" ]; then    xalarm_usage  elif [ "$1" == "loop" ]; then +  count="0" +    shift    while true; do -    xalarm_set $* +    let count++ +    xalarm_set $* $count    done  else    xalarm_set $*  | 
