diff options
author | June McEnroe <june@causal.agency> | 2020-03-31 19:59:42 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-31 19:59:42 -0400 |
commit | 2f0ee249d4d99aad08c4f9e512896e762f3062f5 (patch) | |
tree | b2939858a244eb9fa1c2ef603f334a359955d90e /home/.local/bin | |
parent | Teach hi how to underline in IRC (diff) | |
download | src-2f0ee249d4d99aad08c4f9e512896e762f3062f5.tar.gz src-2f0ee249d4d99aad08c4f9e512896e762f3062f5.zip |
Add np script
I'm bringing this back.
Diffstat (limited to 'home/.local/bin')
-rwxr-xr-x | home/.local/bin/np | 7 |
1 files changed, 7 insertions, 0 deletions
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 |