« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/scripts/keys
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/keys')
-rwxr-xr-xscripts/keys/fast-forward.sh3
-rwxr-xr-xscripts/keys/play-or-pause.sh3
-rwxr-xr-xscripts/keys/rewind.sh3
3 files changed, 9 insertions, 0 deletions
diff --git a/scripts/keys/fast-forward.sh b/scripts/keys/fast-forward.sh
new file mode 100755
index 0000000..1f8bf6e
--- /dev/null
+++ b/scripts/keys/fast-forward.sh
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+osascript -e 'tell application "Music" to next track'
diff --git a/scripts/keys/play-or-pause.sh b/scripts/keys/play-or-pause.sh
new file mode 100755
index 0000000..0524b56
--- /dev/null
+++ b/scripts/keys/play-or-pause.sh
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+osascript -e 'tell application "Music" to playpause'
diff --git a/scripts/keys/rewind.sh b/scripts/keys/rewind.sh
new file mode 100755
index 0000000..edb5cd4
--- /dev/null
+++ b/scripts/keys/rewind.sh
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+osascript -e 'tell application "Music" to back track'