Open rmurai0610 opened 7 years ago
but this prevents OS X user from being able to move the window
The whole point of this extension is to show no header row at all. :) On Ubuntu & Elementary at least moving the window can be done via Super / Windows key and then dragging the window anywhere as mentioned in https://github.com/jancborchardt/hyperminimal/issues/7 Does that also work on macOS with the Cmd or Ctrl keys maybe?
Unfortunately using Cmd /Ctrl key doesn't seem to work with OS X.
Hm, does using Alt or this answer help maybe? http://apple.stackexchange.com/a/114794
Unfortunately, it still does not work. It seems like the issue is that nav is defined to be the draggable region and setting header_header to none seems to make nav section un-clickable. https://github.com/zeit/hyper/blob/12ae25a60b800efdd19205a0f259bd53c1668273/lib/components/tabs.js#L81
To 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. For example, when hovering over the left or right edge, drag vertically instead of horizontally.
@net Thanks! I didn't know that you can move windows this way.
Awesome, thanks @net! :) Do you want to add that to the »How to use« section of the readme at https://github.com/jancborchardt/hyperminimal#how-to-use via pull request?
And @rmurai0610 if that solution works for dragging, can you maybe add a force override for those themes so the header is also hidden then? (Since you have macOS.) Maybe it’s even just an !important
to the CSS rule. :)
@rmurai0610 @net does someone of you also want to submit a pull request to fix the header being inserted due to some themes again? :)
Some themes forces header to be added in causing first few line to be hidden behind it (At least on OS X) (For example hyper-ayu)
One way to solve this would be to set
.header_header { display: none }
When there is only one tab open, but this prevents OS X user from being able to move the window. There is a dirty way of solving this which would be to set.header_header { background: rgba(0, 0, 0, 0.0) !important}
Which will keep the header (so its still draggable in OS X) and prevents first few line from getting hidden.