diff options
author | June McEnroe <june@causal.agency> | 2020-12-31 21:10:36 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-31 21:10:36 -0500 |
commit | 4b9824005c1006b95938aecd9056146460e53b45 (patch) | |
tree | 66393c99aae1a6fb4f7d09b60ed162df40f53f63 /home/.local/bin/np | |
parent | Add ASCII control code names to bit (diff) | |
download | src-4b9824005c1006b95938aecd9056146460e53b45.tar.gz src-4b9824005c1006b95938aecd9056146460e53b45.zip |
Tell "Music" rather than "iTunes"
It's the new era.
Diffstat (limited to '')
-rwxr-xr-x | home/.local/bin/np | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.local/bin/np b/home/.local/bin/np index 7d54574c..b0eb2326 100755 --- a/home/.local/bin/np +++ b/home/.local/bin/np @@ -1,6 +1,6 @@ #!/usr/bin/osascript -tell application "iTunes" +tell application "Music" tell current track get "/me is listening to " & artist & " — " & name end tell |