dotfiles/.config/dunst/dunst_espeak.sh

11 lines
142 B
Bash
Raw Normal View History

2024-07-11 00:01:49 +05:30
#!/bin/bash
summary="$2"
body="$3"
if [[ "$1" == 'Spotify' ]]; then
echo | python scripts/spotify
else
echo "$summary $body" | espeak
fi