Skip to content

Instantly share code, notes, and snippets.

@refnode
Created June 26, 2021 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save refnode/16005c481bc127f3da20ba5eac07a11e to your computer and use it in GitHub Desktop.
Save refnode/16005c481bc127f3da20ba5eac07a11e to your computer and use it in GitHub Desktop.
1080p
hs.hotkey.bind(hyper, "p", function()
local win = hs.window.focusedWindow()
local f = win:frame()
local screen = win:screen()
local max = screen:frame()
f.x = 300
f.y = 100
f.w = max.x + 1864
f.h = max.y + 1055
win:setFrame(f)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment