diff options
Diffstat (limited to 'scripts/keys')
-rwxr-xr-x | scripts/keys/fast-forward.sh | 3 | ||||
-rwxr-xr-x | scripts/keys/play-or-pause.sh | 3 | ||||
-rwxr-xr-x | scripts/keys/rewind.sh | 3 |
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' |