diff options
Diffstat (limited to 'bin/msg')
-rwxr-xr-x | bin/msg | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -39,34 +39,34 @@ for flag in "$@"; do done sound() { - play $XDG_DATA_HOME/msg/medium.ogg 2>/dev/null & + play $XDG_DATA_HOME/msg/medium.ogg 2>/dev/null } ACTION_DONE=false while getopts 'X:sS:m:D:bh' flag; do case "$flag" in X) - xmpp -m "$OPTARG" eu@euandreh.xyz + xmpp -m "$OPTARG" eu@euandreh.xyz & ACTION_DONE=true ;; s) - sound + sound & ACTION_DONE=true ;; S) - echo "$OPTARG" | speak -v pt-BR + echo "$OPTARG" | speak -v pt-BR & ACTION_DONE=true ;; m) - echo " " | email -s "$OPTARG" eu@euandre.org + echo " " | email -s "$OPTARG" eu@euandre.org & ACTION_DONE=true ;; D) - notify-send "$OPTARG" + notify-send "$OPTARG" & ACTION_DONE=true ;; b) - printf '\a' + printf '\a' & ACTION_DONE=true ;; h) |