Commit 29db0e01 authored by Andy Bateman's avatar Andy Bateman
Browse files

Fixed colourisation of Now Playing function

parent a746e601
......@@ -166,7 +166,7 @@ function itunes() {
if [ "$state" = "playing" ]; then
currenttrack=`osascript -e 'tell application "iTunes" to name of current track as string'`
currentartist=`osascript -e 'tell application "iTunes" to artist of current track as string'`
echo "Listening to %F{yellow}$currenttrack%f by %F{yellow}$currentartist%f";
print -P "Listening to %F{yellow}$currenttrack%f by %F{yellow}$currentartist%f";
fi
return 0
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment