An option to hide the titlebar on macOS would be nice.

I know of no way to do that using glfw (the windowing toolkit kitty uses). The only way I know of is to use glfwWindowHint(GLFW_DECORATED, false);
but that has the side effect of there now being no way to move/resize the window.
If you know of some way to do this, then feel free to re-open this.
You can still move windows on macOS without a title bar. Hover over the edge of a window so the resize arrow appears, then drag perpendicular to the direction of the resize arrow.
Anyways, I use a window manager, and probably most people who would disable the titlebar also use a window manager.
Ah, I see what you mean. GLFW_DECORATED, false removes the resize-from-edge ability.
I forked glfw and tweaked their cocoa window creation to make GLFW_DECORATED not make it unresizable. You can tweak the brew formulae head option to pull from that branch and replace the dylib in the kitty app
@koekeishiya Thanks, that worked! I had to build glfw manually, brew gave me an error.
@kovidgoyal How do I package the .app?
@net You don't have to compile Kitty yourself, unless you've made some custom changes.
Simply copy the compiled glfw.dylib into Kitty.app/Contents/Frameworks/ replacing the existing glf3.dylib file (note: names must match). The Kitty executable rpaths will still be valid and it will run using your modified dylib.
@koekeishiya How else would I disable the titlebar?
馃帀馃帀馃帀
You can use this to hide the titlebar.
macos_hide_titlebar yes
For some reason magnet stops working for that window though. :/
It seems that this option is not available. we should use option hide_window_decorations yes instead, ref here.
Most helpful comment
I forked glfw and tweaked their cocoa window creation to make GLFW_DECORATED not make it unresizable. You can tweak the brew formulae head option to pull from that branch and replace the dylib in the kitty app