summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-31 19:59:42 -0400
committerJune McEnroe <june@causal.agency>2020-03-31 19:59:42 -0400
commit40f6dec53f134a40eb5f1b3fd906ce8de5e7d2d3 (patch)
tree071436a012acf3e6325f685d1a6ad9e096468916
parentTeach hi how to underline in IRC (diff)
downloadsrc-40f6dec53f134a40eb5f1b3fd906ce8de5e7d2d3.tar.gz
src-40f6dec53f134a40eb5f1b3fd906ce8de5e7d2d3.zip
Add np script
I'm bringing this back.
-rwxr-xr-xhome/.local/bin/np7
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
9 20:38:12 -0500'>2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe 2022-02-18Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe