Hi,
I am hoping to work out a way to put apps into windowless fullscreen mode. When triggered, the current window's width is set to the screen width and its height is set slightly larger (eg 22px) than the screen height. The window is then positioned negatively on the Y axis (eg -22px) resulting the the contents of the app window filling the enter screen.
Unfortunately, I haven't been able to get it to work. Here's my current code:
require "hs.window"
function hs_test()
local win = hs.window.focusedWindow()
win:setSize(2880,1642)
win:setTopLeft(0,-22)
end
It seems that hs.window's setTopLeft does not allow for negative values.
If anyone could give any pointers, I'd be very grateful.
Thanks