tangled
alpha
login
or
join now
seth.computer
/
dotfiles
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
hammerspoon: play/pause shortcut
seth.computer
3 weeks ago
3a0e01bc
a637be76
verified
This commit was signed with the committer's
known signature
.
seth.computer
SSH Key Fingerprint:
SHA256:utUtG8j2hgvZ0Rnm/rPJiqFu4NT5bjOnC26AUIBh500=
+5
1 changed file
expand all
collapse all
unified
split
hammerspoon
init.lua
+5
hammerspoon/init.lua
···
95
95
showVolumeAlert(device:volume())
96
96
end)
97
97
98
98
+
hs.hotkey.bind(volumeMods, "0", function()
99
99
+
hs.eventtap.event.newSystemKeyEvent("PLAY", true):post()
100
100
+
hs.eventtap.event.newSystemKeyEvent("PLAY", false):post()
101
101
+
end)
102
102
+
98
103
hs.alert.show("Config loaded")