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