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

letters for windows should be offset from letters of parent containers #145

Open
markstos opened this issue Feb 24, 2022 · 0 comments
Open

Comments

@markstos
Copy link

When wmfocus is used with Sway it's possible that a container's label letter will immediately to the left of a windows letter so they look they go together, like: "sa" or "kl".

But if you type "kl" to go to that label, it doesn't work. As soon as "k" is typed, the parent container is focused and wmfocus quits.

This is different than how hinting works in Qutebrowser, Vimium and other keyboard-driven browsers and browser plugins, where if you see "kl" next to each other, then you type "kl" follow that hinted link.

wmfocus can address that potential confusion by adding a vertical offset when a letter needs to displayed next to the parent containers letter. For example, the second letter might might be lowered with vertical offset equal to 50% of the parent letter's box. I think this visual cue could also better communicate the parent-child relationship of the labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant