diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-05-14 18:29:28 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-05-14 18:29:28 -0300 |
commit | cfdaece42c69f9df998402ea4b4476f5c42e1e2c (patch) | |
tree | 12b9c2c67d419b2b3a8b71bc09ee1b1315127771 /scripts/keys | |
parent | 13b094154ea6058509f879f54cae42a496a59629 (diff) |
add karabiner, stub custom media control keys
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' |