(function() local hyper = { "ctrl", "alt", "cmd" } -- move window to next screen hs.hotkey.bind(hyper, "N", function() local win = hs.window.focusedWindow() win:moveToScreen(win:screen():next()) end) for i = 1, 3 do hs.hotkey.bind(hyper, "pad" .. i, function() hs.window.focusedWindow():moveToScreen(i) end) end end)()