aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/msg14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/msg b/bin/msg
index 405d406..32f4fd9 100755
--- a/bin/msg
+++ b/bin/msg
@@ -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)