App-Notifier-Service

 view release on metacpan or  search on metacpan

lib/App/Notifier/Service.pm  view on Meta::CPAN


=head1 SYNOPSIS

    # Prepare a YAML file in ~/.app_notifier.yml with content like this:

    $ cat <<EOF > ~/.app_notifier.yml
    commands:
        # These entries contain command lines that get invoked after the
        # notification is received. They can be either strings or arrays.
        default:
            - /home/shlomif/bin/desktop-finish-cue
        shine:
            - /home/shlomif/bin/desktop-finish-cue
            - "--song"
            - "/home/music/Music/dosd-mp3s/Carmen and Camille - Shine 4U"
            - "--message"
            - type: "text_param"
              param_name: "msg"
    EOF

    # Run the Mojo application from the distribution's root directory.
    plackup ./bin/app.psgi



( run in 0.476 second using v1.01-cache-2.11-cpan-299005ec8e3 )