Skip to content

Instantly share code, notes, and snippets.

@rcreasey
Created August 27, 2019 02:44
Show Gist options
  • Save rcreasey/5ca8446290c705c155912409b69c72ff to your computer and use it in GitHub Desktop.
Save rcreasey/5ca8446290c705c155912409b69c72ff to your computer and use it in GitHub Desktop.
command: "osascript -e 'tell application \"iTunes\" to if player state is playing then artist of current track & \" - \" & name of current track'"
refreshFrequency: 1000
render: (output) ->
"<div class='screen'><div class='pecannowplaying'>#{output}</div></div>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment