summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-04-20 04:09:30 +0200
committerRasmus Steinke <rasi@xssn.at>2016-04-20 04:09:30 +0200
commita063d2fa194675cc21edc8957496d23749cc724d (patch)
tree9cfb1050697c249583c26a5ce2f14a39cb263605 /clerk
parentb581b920bfea3b86cd38973e9f6e629e0a6fb60c (diff)
downloadperl-app-clerk-a063d2fa194675cc21edc8957496d23749cc724d.tar.gz
perl-app-clerk-a063d2fa194675cc21edc8957496d23749cc724d.tar.xz
sort playlists alphabetically
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk2
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk b/clerk
index 70a5c61..a418583 100755
--- a/clerk
+++ b/clerk
@@ -1085,7 +1085,7 @@ IFS='
# show all mpd playlists and load them to queue
dplayQueueLoad () {
- _playlist=$(echo -e "< Return\n---\n$(mpc lsplaylists)" | dmenu_t -p "Load Playlist > ")
+ _playlist=$(echo -e "< Return\n---\n$(mpc lsplaylists | sort)" | dmenu_t -p "Load Playlist > ")
val=$?
if [[ $val -eq 1 ]]; then
exit