From 40f6dec53f134a40eb5f1b3fd906ce8de5e7d2d3 Mon Sep 17 00:00:00 2001 From: "C. 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') 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