From 2f0ee249d4d99aad08c4f9e512896e762f3062f5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 31 Mar 2020 19:59:42 -0400 Subject: Add np script I'm bringing this back. --- home/.local/bin/np | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 home/.local/bin/np (limited to 'home/.local/bin/np') diff --git a/home/.local/bin/np b/home/.local/bin/np new file mode 100755 index 00000000..7d54574c --- /dev/null +++ b/home/.local/bin/np @@ -0,0 +1,7 @@ +#!/usr/bin/osascript + +tell application "iTunes" + tell current track + get "/me is listening to " & artist & " — " & name + end tell +end tell -- cgit 1.4.1