The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Wubot::Plugin::OsxVolume - monitor OS X volume

VERSION

version 0.2_002

SYNOPSIS

  ~/wubot/config/plugins/OsxVolume/navi.yaml.navi

  ---
  min_volume: 26
  alert_muted: 1
  delay: 300

DESCRIPTION

Monitor the volume on OS X by parsing the output of:

  osascript -e 'get volume settings'

If the volume is below a configured threshold, or optionally if it is muted, wubot will send a message with a subject that indicates one of the following:

  volume muted
  low volume: {$volume}

HINTS

When using voice notifications from wubot, it may sometimes be necessary to mute or lower the volume. This monitor can alert you when you have accidentally left the volume too low so and thus may not be able to hear voice notifications.