Explorar el Código

msound automatically adds .mp3 to file names, and sounds are now roughly equally loud.

master
mort hace 9 años
padre
commit
5698dc84b9
Se han modificado 7 ficheros con 4 adiciones y 4 borrados
  1. BIN
      assets/sounds/camera-shutter.mp3
  2. BIN
      assets/sounds/ding.mp3
  3. BIN
      assets/sounds/error.mp3
  4. 1
    1
      bin/merror
  5. 1
    1
      bin/mnotify
  6. 1
    1
      bin/mshot
  7. 1
    1
      bin/msound

BIN
assets/sounds/camera-shutter.mp3 Ver fichero


BIN
assets/sounds/ding.mp3 Ver fichero


BIN
assets/sounds/error.mp3 Ver fichero


+ 1
- 1
bin/merror Ver fichero

@@ -1,4 +1,4 @@
#!/bin/bash

msound error.mp3
msound error
notify-send -u critical -i ~/assets/img/error.png "$1" "$2"

+ 1
- 1
bin/mnotify Ver fichero

@@ -1,4 +1,4 @@
#!/bin/bash

msound ding.mp3
msound ding
notify-send -u low -i ~/assets/img/info.png "$1" "$2"

+ 1
- 1
bin/mshot Ver fichero

@@ -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
- 1
bin/msound Ver fichero

@@ -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 &

Cargando…
Cancelar
Guardar