diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-08-04 20:00:10 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-08-04 20:00:10 +0200 |
commit | 03ea728c21ff0052337bcb1076fbec84e2164157 (patch) | |
tree | c632570eba7bc07ac8306a538058b9b1ff4f925b /clerk | |
parent | 4ea0d61f7f797d21ea8ac6dc12ab8144c4b0efb1 (diff) | |
download | perl-app-clerk-03ea728c21ff0052337bcb1076fbec84e2164157.tar.gz perl-app-clerk-03ea728c21ff0052337bcb1076fbec84e2164157.tar.xz |
small fix
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -212,7 +212,7 @@ currentTag () { elif [[ "$line" == "" ]]; then return fi - done < <(echo -e "0 Return to Main Menu\n---\nShow all Tags\n---\n$(mpc current --format "Artist: %artist%\nAlbum: %album%\nDate: %date%\nTrack: %track%\nTitle: %title%")" | dmenu_t -p 'Tags > ') + done < <(echo -e "0 Return to Main Menu\n---\nShow all Tags\n---\n$(mpc current --format "Artist: %artist%\nAlbum: %album%\nDate: %date%\nTrack: %track%\nTitle: %title%")" | dmenu_t -p 'Current Song > ') if [[ $seen = 0 ]] then @@ -227,10 +227,12 @@ readComments () { seen=1 if [[ "$line" == "0 Return to Main Menu" ]]; then dplayPrompt + elif [[ "$line" == "Show Tags" ]]; then + currentTag elif [[ "$line" == "" ]]; then return fi - done < <(echo -e "0 Return to Main Menu\n---\nShow all Tags\n---\n$(mppc readcomments)" | dmenu_t -p 'Tags > ') + done < <(echo -e "0 Return to Main Menu\n---\nShow Tags\n---\n$(mppc readcomments)" | dmenu_t -p 'Current Song > ') if [[ $seen = 0 ]] then |