aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index b3baca8..dcea155 100644
--- a/init.lua
+++ b/init.lua
@@ -31,3 +31,12 @@ spoon.WindowMode:bindHotkeys({ mode = {{'ctrl', 'option'}, 'w'} })
hs.hotkey.bind({}, 'f8', function()
hs.eventtap.keyStroke({'cmd', 'option', 'ctrl'}, '8')
end)
+
+-- Temporary browser extension reload mapping
+hs.hotkey.bind({}, 'f5', function()
+ local position = hs.window.frontmostWindow():zoomButtonRect()
+ position.x = position.x + 925
+ position.y = position.y + 45
+
+ hs.eventtap.leftClick(position)
+end)