From 08f22ad82edbe30606a8145a01ab18f2f6d71b4b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 17 Nov 2024 23:39:40 -0600 Subject: delete .old dir since all is still stored in version control --- .old/music | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 .old/music (limited to '.old/music') diff --git a/.old/music b/.old/music deleted file mode 100755 index cb78257..0000000 --- a/.old/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" -- cgit v1.2.3