summaryrefslogtreecommitdiffstats
path: root/.local/bin/dunst_espeak.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-13 15:43:53 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-13 15:43:53 +0100
commit0d8b358d5642e4003662d40b16a65de1f08c34a2 (patch)
treea95a78e2b78681d177da80dbca8034d7fe835ca2 /.local/bin/dunst_espeak.sh
parentRemoved debug (diff)
downloaddotfiles-bsd-0d8b358d5642e4003662d40b16a65de1f08c34a2.tar.gz
dotfiles-bsd-0d8b358d5642e4003662d40b16a65de1f08c34a2.tar.bz2
dotfiles-bsd-0d8b358d5642e4003662d40b16a65de1f08c34a2.tar.xz
dotfiles-bsd-0d8b358d5642e4003662d40b16a65de1f08c34a2.tar.zst
dotfiles-bsd-0d8b358d5642e4003662d40b16a65de1f08c34a2.zip
Removed coc.vim bullshit
Diffstat (limited to '.local/bin/dunst_espeak.sh')
-rwxr-xr-x.local/bin/dunst_espeak.sh1
1 files changed, 1 insertions, 0 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"