Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Persist window position, size and zoom #185

Open
virtualritz opened this issue Dec 8, 2023 · 2 comments
Open

[Suggestion] Persist window position, size and zoom #185

virtualritz opened this issue Dec 8, 2023 · 2 comments
Labels
C-enhancement Category: New feature or request C-question Category: Further information is requested

Comments

@virtualritz
Copy link

virtualritz commented Dec 8, 2023

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

@CosmicHorrorDev CosmicHorrorDev added the C-enhancement Category: New feature or request label Dec 8, 2023
@CosmicHorrorDev
Copy link
Collaborator

CosmicHorrorDev commented Dec 8, 2023

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)

@CosmicHorrorDev CosmicHorrorDev added the C-question Category: Further information is requested label Dec 8, 2023
@virtualritz
Copy link
Author

virtualritz commented Dec 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: New feature or request C-question Category: Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants