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 | 9259bf38c009ebb2041223cd4e56bf6bcfce8b44 (patch) | |
tree | eb71551dd6fdf15114934ffd14ab0b0d8424d1dc /home/.local/bin/np | |
parent | Add ASCII control code names to bit (diff) | |
download | src-9259bf38c009ebb2041223cd4e56bf6bcfce8b44.tar.gz src-9259bf38c009ebb2041223cd4e56bf6bcfce8b44.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 |