diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -17,3 +17,13 @@ for i=0,9 do end end) end + + +-- Maximise window height +hs.hotkey.bind({'ctrl', 'alt'}, 'z', function() + local win = hs.window.frontmostWindow() + local f = win:frame() + + f.h = hs.screen.mainScreen():frame().h + win:setFrame(f) +end) |