aboutsummaryrefslogtreecommitdiff
path: root/bin/msg
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-12 18:34:58 -0300
committerEuAndreh <eu@euandre.org>2022-05-12 18:34:58 -0300
commitb248902af25312c9d7d8d1fb3d82e8da4643c994 (patch)
tree30edb336a3398ef69ea245017ef9b51ad8da733c /bin/msg
parentMove symlink to private files to a relative location (diff)
downloaddotfiles-b248902af25312c9d7d8d1fb3d82e8da4643c994.tar.gz
dotfiles-b248902af25312c9d7d8d1fb3d82e8da4643c994.tar.xz
bin/msg: Move audio files to $XDG_DATA_HOME/msg/
Diffstat (limited to 'bin/msg')
-rwxr-xr-xbin/msg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/msg b/bin/msg
index f3e893e..3bcc98e 100755
--- a/bin/msg
+++ b/bin/msg
@@ -14,7 +14,7 @@ help() {
Options:
-X XMPP_MESSAGE send XMPP using the `xmpp` command
- -s play ~/Desktop/medium.ogg sound
+ -s play $XDG_DATA_HOME/msg/medium.ogg sound
-S SOUND_MESSAGE say SOUND_MESSAGE using `speak`
-m EMAIL_SUBJECT send email with EMAIL_SUBJECT and empty body
-D DESKTOP_MESSAGE the desktop message for `notify-send`
@@ -39,7 +39,7 @@ for flag in "$@"; do
done
sound() {
- play ~/Desktop/medium.ogg 2>/dev/null &
+ play $XDG_DATA_HOME/msg/medium.ogg 2>/dev/null &
}
ACTION_DONE=false