From 9259bf38c009ebb2041223cd4e56bf6bcfce8b44 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 31 Dec 2020 21:10:36 -0500 Subject: Tell "Music" rather than "iTunes" It's the new era. --- home/.local/bin/np | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/.local/bin') 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 -- cgit 1.4.1