dot

packages and services management
Log | Files | Refs | README

commit 4bec320d16b76646bec8ededc8c15a118e3865ac
parent 6d7d6e33ccbe96031d4b591ac0492a7630eb1db9
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Mon, 27 Mar 2017 21:02:05 +0200

moved music to io-music

Diffstat:
Abin/io-music | 18++++++++++++++++++
Dbin/music | 11-----------
2 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/bin/io-music b/bin/io-music @@ -0,0 +1,18 @@ +# play all music from directories and files passed as argument with mplayer + +MUSIC="$HOME/music" + +path="$( + cd "$MUSIC" || exit 1 + find . | sort | iomenu -l 255 +)" + +IFS=' +' + +mplayer $( + for path in $path + do + find "$MUSIC/$path" -type f -name '*.flac' | sort + done +) diff --git a/bin/music b/bin/music @@ -1,11 +0,0 @@ -# play all music from directories and files passed as argument with mplayer - -IFS=' -' - -mplayer $( - for path in "$@" - do - find "$path" -type f -name '*.flac' | sort - done -)