aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 4760509..9f98b0f 100644
--- a/init.lua
+++ b/init.lua
@@ -29,3 +29,9 @@ hs.hotkey.bind({'ctrl', 'alt'}, 'z', function()
f.h = hs.screen.mainScreen():frame().h
win:setFrame(f)
end)
+
+
+-- Shortcut to invert screen colours
+hs.hotkey.bind({}, 'f8', function()
+ hs.eventtap.keyStroke({'cmd', 'option', 'ctrl'}, '8')
+end)