From 4820f0da13d13a6c3d827ab2f5d51a134c09e39d Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Fri, 21 Dec 2012 12:36:45 +0100 Subject: [PATCH] example script --- contrib/dunst_espeak.sh | 6 ++++++ dunstrc | 4 ++++ 2 files changed, 10 insertions(+) create mode 100755 contrib/dunst_espeak.sh diff --git a/contrib/dunst_espeak.sh b/contrib/dunst_espeak.sh new file mode 100755 index 0000000..9bd7285 --- /dev/null +++ b/contrib/dunst_espeak.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +summary="$2" +body="$3" + +echo "$summary $body" | espeak 2>&1 diff --git a/dunstrc b/dunstrc index 7399f62..3253d54 100644 --- a/dunstrc +++ b/dunstrc @@ -156,6 +156,10 @@ # NOTE: It might be helpful to run dunst -print in a terminal in order to find # fitting options for rules. +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + #[script-test] # summary = "*script*" # script = dunst_test.sh