summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2014-08-25 01:53:31 +0200
committerRasmus Steinke <rasi@xssn.at>2014-08-25 01:53:31 +0200
commit9f707dbe2fd0fe6b33400873f8c50c504a99e84a (patch)
treecb5db65b08eb273dacc7bbd49599f0154ad5d1e9 /clerk
parent7eb9a074e544186c2889b5880e1521b9c9e03fc0 (diff)
downloadperl-app-clerk-9f707dbe2fd0fe6b33400873f8c50c504a99e84a.tar.gz
perl-app-clerk-9f707dbe2fd0fe6b33400873f8c50c504a99e84a.tar.xz
last try :(
Diffstat (limited to 'clerk')
-rw-r--r--clerk8
1 files changed, 4 insertions, 4 deletions
diff --git a/clerk b/clerk
index 0f0c1a8..4edf154 100644
--- a/clerk
+++ b/clerk
@@ -677,10 +677,10 @@ currentTracksInsert () {
rateAlbum () {
- artist=$(mpc current -f %artist%)
- album=$(mpc current -f %album%)
- date=$(mpc current -f %date%)
- directory=$(dirname $(mpc current -f %file%))
+ artist="$(mpc current -f %artist%)"
+ album="$(mpc current -f %album%)"
+ date="$(mpc current -f %date%)"
+ directory="$(dirname $(mpc current -f %file%))"
ratings="$(seq $maxratings | dmenu_t -p "Select Rating: > ")"
date=${date//\'/\\\'}
artist=${artist//\'/\\\'}