Inlyne-Project/inlyne

[Suggestion] Persist window position, size and zoom

Opened this issue · 2 comments

I.e. if I resize the window or use +/+ to change the zoom, these changes are fogotten once inlyne is closed and-re opened.

It's been a while since I've used a non-tiling window manager, but it is normally expected for applications to remember their position and size? I would have assumed that the position and size was handled by the desktop environment, but this is the second issue that has mentioned inlyne specifically handling its position/size (#173)

Regarding zoom I could see that being useful for keeping track of the zoom set for different documents (although if you want a global zoom, then you're probably looking for a custom --scale which can be persisted in your ~/.config/inlyne/inlyne.toml file e.g. scale = 1.3)

In my case the window is tiny and I can barely read the text. I have a 15" laptop with a 3.2k×2k res. screen.

Somehow inlyne ignores my global UI scale from GNOME/KDE and starts in the middle of the screen, at a size of maybe 600×400px.

I like to have it pop up way larger, on the right side of my screen.

I'd also like an option to have the window pinned by default (I'll open a ticket for this).

That way I can quickly view a markdown file from my terminal, keep it open, and keep typing.