diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-17 23:34:54 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-17 23:34:54 -0600 |
commit | 09ada24d4ec23cf24ab136141b354953d1bbc2fa (patch) | |
tree | 2c41e87c71ad3f3cd67a8bea0c1413efbab4087d /launch/music | |
parent | 090a3a31683eb08b91351e4d1508a0a73a310a38 (diff) | |
download | scripts-09ada24d4ec23cf24ab136141b354953d1bbc2fa.tar.xz scripts-09ada24d4ec23cf24ab136141b354953d1bbc2fa.zip |
reorganize scripts
Diffstat (limited to 'launch/music')
-rwxr-xr-x | launch/music | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/launch/music b/launch/music deleted file mode 100755 index cb78257..0000000 --- a/launch/music +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -albumsdir=/media/4tbhdd/Music -dmenucolors="-l 25" - -playsong() { - list="`find $albumsdir -type f -name '*mka' | sort | sed 's/.*\/\(.*\) - \(.*\)\/[0-9]*: \(.*\).mka$/\3\t\1\t\2/' | awk -F '\t' '{ printf "%-120s %-60s %s\n", $1, $2, $3 }'`" - selection="`echo "$list" | dmenu $dmenucolors -p 'Song:'`" - selection="`echo "$selection" | sed 's/\(.*\) *\(.*\) *\(.*\)/\2 - \3\/[0-9]*: \1-/'`" - echo "$selection" -} - -playalbum() { - list="`find $albumsdir -type d -mindepth 1 -maxdepth 1 | sort`" -} - -playartist() { - list="`find $albumsdir -type d -mindepth 1 -maxdepth 1 | sed 's/ - .*//' | sort | uniq`" - artist= - list="`find $albumsdir -type d -name "$artist*" | sort`" -} - -playshuffle() { - list="`find $albumsdir -type f -name "*mka" | sort -R`" -} - -playsong -#play="`echo "$list" | grep "$selection"`" -#echo "$play" |