@@ -1,4 +1,4 @@ | |||
#!/bin/bash | |||
msound error.mp3 | |||
msound error | |||
notify-send -u critical -i ~/assets/img/error.png "$1" "$2" |
@@ -1,4 +1,4 @@ | |||
#!/bin/bash | |||
msound ding.mp3 | |||
msound ding | |||
notify-send -u low -i ~/assets/img/info.png "$1" "$2" |
@@ -10,7 +10,7 @@ scrot "$DIR/pic.png" | |||
mupload "$DIR/pic.png" "img/${1}.png" | |||
if [ $? -eq 0 ]; then | |||
msound camera-shutter.mp3 | |||
msound camera-shutter | |||
else | |||
merror "mshot" "Couldn't upload image file." | |||
echo "An error occurred." 1>&2 |
@@ -1,3 +1,3 @@ | |||
#!/bin/bash | |||
mplayer -nogui "$HOME/assets/sounds/$1" </dev/null >/dev/null 2>&1 & | |||
mplayer -nogui "$HOME/assets/sounds/${1}.mp3" </dev/null >/dev/null 2>&1 & |