Skip to content

Instantly share code, notes, and snippets.

-- Modal bindings, have to resort to this because on mac there
-- isn't a reserved modifier key for interacting with the OS.
modal_keymap = hs.hotkey.modal.new("cmd", "escape")
modal_keymap:bind('', 'escape', nil, function() modal_keymap:exit() end)
-- Maximize toggling
local window_table = {}
function toggleFocusedWindowFullscreen()
local focused_window = hs.window.focusedWindow()
### Keybase proof
I hereby claim:
* I am philsnow on github.
* I am philsnow (https://keybase.io/philsnow) on keybase.
* I have a public key whose fingerprint is 8568 F2DD 46A3 E8EB 8731 5A6D 11E9 7527 9066 9294
To claim this, I am signing this object: