diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/dunst_espeak.sh | 1 | ||||
-rwxr-xr-x | .local/bin/tsm-done.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/dunst_espeak.sh b/.local/bin/dunst_espeak.sh index 8355db4..666aa22 100755 --- a/.local/bin/dunst_espeak.sh +++ b/.local/bin/dunst_espeak.sh @@ -3,4 +3,5 @@ [ "$5" = "LOW" ] && exit [ "$3" ] || exit words=$(printf "$3" | sed 's/<b>//g' | sed 's/<\/b>//g' | sed 's/[^a-zA-Z0-9?!.,% ]//g') +words=$(printf "%s\n" "$words" | awk '{for (i=1;i<11;i++)print $i }' | tr '\n' ' ') espeak "$words" diff --git a/.local/bin/tsm-done.sh b/.local/bin/tsm-done.sh index c95f71c..fade4e0 100755 --- a/.local/bin/tsm-done.sh +++ b/.local/bin/tsm-done.sh @@ -4,4 +4,4 @@ notify-send \ -u normal \ -t 10000 \ 'Transmission' \ - ' Torrent downloaded' + " Torrent downloaded" |