From b248902af25312c9d7d8d1fb3d82e8da4643c994 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 12 May 2022 18:34:58 -0300 Subject: bin/msg: Move audio files to $XDG_DATA_HOME/msg/ --- bin/msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/msg') 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 -- cgit v1.2.3